hello Every 1

visual studio 2010.............
c++

i have a problem , i need to use a function named getentityposition which is in some file for example named AgentActioncomponent ,when i want to call this function i am available with AgentActioncomponent and even getentityposition...i call it in this way
******************************************************************
Vec3f currentPos = AgentActionComponent::getEntityPosition(m_characterID2);
******************************************************************

but it doesnt recognize AgentActionComponent .. when i take my cursor to AgentActionComponent it says non static member reference
must be relative to a specific object ....

does any body have any idea

Regards Imran Habib