Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Damn Pin
baerten27-Feb-07 21:02
baerten27-Feb-07 21:02 
GeneralRe: Damn Pin
prasad_som28-Feb-07 1:20
prasad_som28-Feb-07 1:20 
Questionchanging font size of cstatic ctrl. How ? Pin
sakthimuthu27-Feb-07 0:03
sakthimuthu27-Feb-07 0:03 
AnswerRe: changing font size of cstatic ctrl. How ? Pin
Hamid_RT27-Feb-07 0:38
Hamid_RT27-Feb-07 0:38 
AnswerRe: changing font size of cstatic ctrl. How ? Pin
prasad_som27-Feb-07 1:28
prasad_som27-Feb-07 1:28 
AnswerRe: changing font size of cstatic ctrl. How ? Pin
David Crow27-Feb-07 2:55
David Crow27-Feb-07 2:55 
Questionpassing parameter in thread Pin
neha.agarwal2726-Feb-07 23:40
neha.agarwal2726-Feb-07 23:40 
AnswerRe: passing parameter in thread Pin
toxcct26-Feb-07 23:42
toxcct26-Feb-07 23:42 
why not just calling like this :
CString str = _T("hello CP");
 
workerThread(&str);

from within the function, if you know you'll always get a CString, then use it like that :
UINT workerThread(LPVOID lpParam) {
    CString str = *(static_cast<CString*>(lpParam));
    //...
    return 0;
}



GeneralRe: passing parameter in thread [modified] Pin
Nibu babu thomas27-Feb-07 1:17
Nibu babu thomas27-Feb-07 1:17 
GeneralRe: passing parameter in thread Pin
toxcct27-Feb-07 1:49
toxcct27-Feb-07 1:49 
GeneralRe: passing parameter in thread Pin
James R. Twine27-Feb-07 1:24
James R. Twine27-Feb-07 1:24 
AnswerRe: passing parameter in thread Pin
James R. Twine27-Feb-07 1:29
James R. Twine27-Feb-07 1:29 
GeneralRe: passing parameter in thread Pin
neha.agarwal2727-Feb-07 1:47
neha.agarwal2727-Feb-07 1:47 
GeneralRe: passing parameter in thread Pin
James R. Twine27-Feb-07 2:46
James R. Twine27-Feb-07 2:46 
GeneralRe: passing parameter in thread Pin
neha.agarwal2727-Feb-07 19:01
neha.agarwal2727-Feb-07 19:01 
GeneralRe: passing parameter in thread Pin
James R. Twine28-Feb-07 17:11
James R. Twine28-Feb-07 17:11 
QuestionStrange Font bolding Pin
super_ttd26-Feb-07 22:15
super_ttd26-Feb-07 22:15 
AnswerRe: Strange Font bolding Pin
Nibu babu thomas26-Feb-07 23:57
Nibu babu thomas26-Feb-07 23:57 
AnswerRe: Strange Font bolding Pin
David Crow27-Feb-07 2:56
David Crow27-Feb-07 2:56 
GeneralRe: Strange Font bolding Pin
super_ttd27-Feb-07 3:04
super_ttd27-Feb-07 3:04 
JokeRe: Strange Font bolding Pin
Nibu babu thomas27-Feb-07 3:38
Nibu babu thomas27-Feb-07 3:38 
Questionsetting of properties for a ocx control Pin
zareee26-Feb-07 21:33
zareee26-Feb-07 21:33 
QuestionHow to Calculate no of timers. Pin
birajendu26-Feb-07 21:13
birajendu26-Feb-07 21:13 
AnswerRe: How to Calculate no of timers. Pin
David Crow27-Feb-07 2:57
David Crow27-Feb-07 2:57 
Questionmultiple c files in visual studio 6 project Pin
Ayman Mashal26-Feb-07 20:08
Ayman Mashal26-Feb-07 20:08 

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.