Click here to Skip to main content
15,893,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to update the string value from one class to another class of Property page in mfc.I am getting an runtime error Pin
jeron12-Mar-15 6:06
jeron12-Mar-15 6:06 
GeneralRe: How to update the string value from one class to another class of Property page in mfc.I am getting an runtime error Pin
Member 114380212-Mar-15 16:46
Member 114380212-Mar-15 16:46 
QuestionRe: How to update the string value from one class to another class of Property page in mfc.I am getting an runtime error Pin
jeron13-Mar-15 4:00
jeron13-Mar-15 4:00 
QuestionHow to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
pcname1-Mar-15 12:35
pcname1-Mar-15 12:35 
AnswerRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
Richard Andrew x641-Mar-15 13:07
professionalRichard Andrew x641-Mar-15 13:07 
GeneralRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
pcname1-Mar-15 14:13
pcname1-Mar-15 14:13 
AnswerRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
Richard Andrew x641-Mar-15 14:20
professionalRichard Andrew x641-Mar-15 14:20 
GeneralRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
pcname1-Mar-15 14:56
pcname1-Mar-15 14:56 
No, my function is not a Unicode function. my file path is C:\Downloads\HornSound.wav.

I found if I added the following " MessageBox(NULL, loct, "Message1", NULL); " before "CloseHandle(hThread);".
Both MessageBoxes (both in the function and in the thread) can correctly display the file path.
But if I removed "MessageBox" in the function, then the MessageBox in the thread cannot correctly display the file path. What is the problem?
AnswerRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
Richard MacCutchan1-Mar-15 22:54
mveRichard MacCutchan1-Mar-15 22:54 
GeneralRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
pcname2-Mar-15 15:07
pcname2-Mar-15 15:07 
GeneralRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
Richard MacCutchan2-Mar-15 21:05
mveRichard MacCutchan2-Mar-15 21:05 
AnswerRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
Stephen Hewitt2-Mar-15 14:33
Stephen Hewitt2-Mar-15 14:33 
GeneralRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
pcname2-Mar-15 15:11
pcname2-Mar-15 15:11 
AnswerRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
Frankie-C2-Mar-15 22:04
Frankie-C2-Mar-15 22:04 
GeneralRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
pcname3-Mar-15 14:50
pcname3-Mar-15 14:50 
GeneralRe: How to correctly pass a LPCSTR type parameter to a thread in DLL? Pin
Frankie-C3-Mar-15 23:06
Frankie-C3-Mar-15 23:06 
Questionfotron 77 to c++ conversion Pin
Nileshb11127-Feb-15 22:12
Nileshb11127-Feb-15 22:12 
QuestionRe: fotron 77 to c++ conversion Pin
Richard MacCutchan27-Feb-15 22:17
mveRichard MacCutchan27-Feb-15 22:17 
AnswerRe: fotron 77 to c++ conversion Pin
Nileshb11128-Feb-15 0:09
Nileshb11128-Feb-15 0:09 
GeneralRe: fotron 77 to c++ conversion Pin
Richard MacCutchan28-Feb-15 0:14
mveRichard MacCutchan28-Feb-15 0:14 
AnswerRe: fotron 77 to c++ conversion Pin
Nileshb11128-Feb-15 0:16
Nileshb11128-Feb-15 0:16 
GeneralRe: fotron 77 to c++ conversion PinPopular
Richard MacCutchan28-Feb-15 0:19
mveRichard MacCutchan28-Feb-15 0:19 
GeneralRe: fotron 77 to c++ conversion Pin
Nileshb11128-Feb-15 0:30
Nileshb11128-Feb-15 0:30 
GeneralRe: fotron 77 to c++ conversion Pin
Nileshb11128-Feb-15 17:39
Nileshb11128-Feb-15 17:39 
GeneralRe: fotron 77 to c++ conversion Pin
Richard MacCutchan28-Feb-15 21:15
mveRichard MacCutchan28-Feb-15 21:15 

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.