About CMutex [modified]
-
To use Cmutex Object , Any headerfile have to include ? I have not include Header file . I'm geating error : ---------------------------------------------------------------------- lets : CMutex g_m; - - - - - - - - - - - - - - - - - - - - - - E:\Project-MFC\UiThread1\UiThread1Dlg.cpp(17) : error C2146: syntax error : missing ';' before identifier 'g_m' E:\Project-MFC\UiThread1\UiThread1Dlg.cpp(17) : error C2501: 'CMutex' : missing storage-class or type specifiers E:\Project-MFC\UiThread1\UiThread1Dlg.cpp(17) : fatal error C1004: unexpected end of file found ------------------------------------------------------------------------ Thanks to all.:) -- modified at 6:02 Monday 10th July, 2006
-
To use Cmutex Object , Any headerfile have to include ? I have not include Header file . I'm geating error : ---------------------------------------------------------------------- lets : CMutex g_m; - - - - - - - - - - - - - - - - - - - - - - E:\Project-MFC\UiThread1\UiThread1Dlg.cpp(17) : error C2146: syntax error : missing ';' before identifier 'g_m' E:\Project-MFC\UiThread1\UiThread1Dlg.cpp(17) : error C2501: 'CMutex' : missing storage-class or type specifiers E:\Project-MFC\UiThread1\UiThread1Dlg.cpp(17) : fatal error C1004: unexpected end of file found ------------------------------------------------------------------------ Thanks to all.:) -- modified at 6:02 Monday 10th July, 2006
#include <afxmt.h> Ovidiu Cucu Microsoft MVP - Visual C++
-
#include <afxmt.h> Ovidiu Cucu Microsoft MVP - Visual C++