You could make a friend class
Hey great?But how is this done?Could u give me the exact syntax.
For accessing var x in class xx from class yy
class xx
{
private:
CRITICAL_SECTION x;
}
class yy
{
SomeMethod(x++);
}
These classes are in different files(physically),then can U tell me how its done?
Thanks.