Click here to Skip to main content
16,006,432 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem executing EXE file with shellexecute Pin
Daniel132411-Apr-05 8:01
Daniel132411-Apr-05 8:01 
GeneralRe: problem executing EXE file with shellexecute Pin
Green Fuze11-Apr-05 12:36
Green Fuze11-Apr-05 12:36 
GeneralRe: problem executing EXE file with shellexecute Pin
ddmcr11-Apr-05 8:31
ddmcr11-Apr-05 8:31 
GeneralDevStudio Macros Pin
Kyudos11-Apr-05 6:08
Kyudos11-Apr-05 6:08 
Generalgenetic algorithm Pin
smarty1211-Apr-05 5:46
smarty1211-Apr-05 5:46 
GeneralRe: genetic algorithm Pin
Chris Meech11-Apr-05 6:23
Chris Meech11-Apr-05 6:23 
GeneralRe: genetic algorithm Pin
liquid_11-Apr-05 7:06
liquid_11-Apr-05 7:06 
QuestionHow can I use the CCriticalSection? Pin
zhenyuanwu11-Apr-05 5:03
zhenyuanwu11-Apr-05 5:03 
I defined the variable as
CCriticalSection m_sync;

and used the variable m_sync as
m_sync.Lock();
...
m_sync.Unlock();

but there were the errors as follows:
C:\Documents and Settings\ACER\桌面\wzy1\wzy1View.cpp(20) : error C2146: syntax error : missing ';' before identifier 'm_Sync'
C:\Documents and Settings\ACER\桌面\wzy1\wzy1View.cpp(20) : error C2501: 'CCriticalSection' : missing storage-class or type specifiers
C:\Documents and Settings\ACER\桌面\wzy1\wzy1View.cpp(20) : fatal error C1004: unexpected end of file found
Generating Code...
Error executing cl.exe.

Why is that?
I am rather confused!

Thank you!
AnswerRe: How can I use the CCriticalSection? Pin
David Crow11-Apr-05 5:21
David Crow11-Apr-05 5:21 
AnswerRe: How can I use the CCriticalSection? Pin
BambooMoon11-Apr-05 9:43
BambooMoon11-Apr-05 9:43 
GeneralBinary/Hex/Octal to Integer Pin
MadFruit11-Apr-05 4:44
sussMadFruit11-Apr-05 4:44 
GeneralRe: Binary/Hex/Octal to Integer Pin
David Crow11-Apr-05 4:51
David Crow11-Apr-05 4:51 
GeneralRe: Binary/Hex/Octal to Integer Pin
MadFruit11-Apr-05 4:59
sussMadFruit11-Apr-05 4:59 
GeneralRe: Binary/Hex/Octal to Integer Pin
ddmcr11-Apr-05 5:18
ddmcr11-Apr-05 5:18 
GeneralEasy console programming question Pin
Joel Holdsworth11-Apr-05 4:34
Joel Holdsworth11-Apr-05 4:34 
GeneralRe: Easy console programming question Pin
Cedric Moonen11-Apr-05 4:38
Cedric Moonen11-Apr-05 4:38 
GeneralRe: Easy console programming question Pin
David Crow11-Apr-05 4:54
David Crow11-Apr-05 4:54 
GeneralHelp me, plz (i've a problem with CStatic) Pin
thanh-hai.bui11-Apr-05 3:59
thanh-hai.bui11-Apr-05 3:59 
GeneralRe: Help me, plz (i've a problem with CStatic) Pin
David Crow11-Apr-05 4:40
David Crow11-Apr-05 4:40 
Generalneed a function for c language Pin
zhuangfanyin11-Apr-05 3:31
zhuangfanyin11-Apr-05 3:31 
GeneralRe: need a function for c language Pin
toxcct11-Apr-05 3:35
toxcct11-Apr-05 3:35 
GeneralRe: need a function for c language Pin
Cedric Moonen11-Apr-05 3:40
Cedric Moonen11-Apr-05 3:40 
GeneralRe: need a function for c language Pin
zhuangfanyin11-Apr-05 4:08
zhuangfanyin11-Apr-05 4:08 
GeneralRe: need a function for c language Pin
Cedric Moonen11-Apr-05 3:39
Cedric Moonen11-Apr-05 3:39 
GeneralRe: need a function for c language Pin
zhuangfanyin11-Apr-05 4:12
zhuangfanyin11-Apr-05 4:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.