This is very strange. I just delcare a CRITICAL_SECTION cs_reconDB_query;
in h file
class RecConfiguration
{
private:
static CRITICAL_SECTION cs_reconDB_query;
in cpp file
CRITICAL_SECTION RecConfiguration::cs_reconDB_query;
but got a compliation error
error C2146: syntax error : missing ';' before identifier 'CRITICAL_SECTION'
any help ?
strangely enough. somehow it is gone.. not sure what was wrong..
anyway pls ignore this posting