Click here to Skip to main content
15,914,160 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: bit-field Pin
krmed28-Feb-07 6:59
krmed28-Feb-07 6:59 
AnswerRe: bit-field Pin
Roger Stoltz27-Feb-07 22:07
Roger Stoltz27-Feb-07 22:07 
QuestionEmpty pane in splliter window? Pin
BishGada27-Feb-07 20:36
BishGada27-Feb-07 20:36 
Questionselect item using path Pin
yuvachandra27-Feb-07 20:29
yuvachandra27-Feb-07 20:29 
QuestionRe: select item using path Pin
prasad_som27-Feb-07 20:32
prasad_som27-Feb-07 20:32 
AnswerRe: select item using path Pin
yuvachandra27-Feb-07 20:41
yuvachandra27-Feb-07 20:41 
GeneralRe: select item using path Pin
ThatsAlok27-Feb-07 21:26
ThatsAlok27-Feb-07 21:26 
Questionpassing 2 parameter in thread Pin
neha.agarwal2727-Feb-07 19:56
neha.agarwal2727-Feb-07 19:56 
Hello all,
As per my previous post i m trying to pass two parameters to my thread one is CString n one is integer.
For that i have made a structure
which constitute of two variable CString and int resp..
in a function i m making structure object like this
test *obj;
obj = new test;
n giving its variable values like this
obj->item = 10;
obj->str = "nItem";
n after that starting thread like this
Ping = AfxBeginThread(PingThread,obj);

my thread LPVOID paramter recieves its value
inside my thread i m able to retrieve only first value either its a CString or an integer

cstrHost = *(static_cast<cstring*>(pParam));
int_val = *(static_cast<int*>(pParam));
trying to retrieve 2nd int value is giving a garbage value

can anybody guide me in this....
AnswerRe: passing 2 parameter in thread Pin
prasad_som27-Feb-07 20:15
prasad_som27-Feb-07 20:15 
GeneralRe: passing 2 parameter in thread Pin
neha.agarwal2727-Feb-07 20:27
neha.agarwal2727-Feb-07 20:27 
QuestionCalculating possible words from a single letter. Pin
Sauce!27-Feb-07 19:16
Sauce!27-Feb-07 19:16 
AnswerRe: Calculating possible words from a single letter. Pin
Stephen Hewitt27-Feb-07 19:50
Stephen Hewitt27-Feb-07 19:50 
GeneralRe: Calculating possible words from a single letter. Pin
Sauce!27-Feb-07 20:11
Sauce!27-Feb-07 20:11 
GeneralRe: Calculating possible words from a single letter. Pin
Stephen Hewitt27-Feb-07 20:16
Stephen Hewitt27-Feb-07 20:16 
GeneralRe: Calculating possible words from a single letter. Pin
David Crow28-Feb-07 2:54
David Crow28-Feb-07 2:54 
GeneralRe: Calculating possible words from a single letter. Pin
Sauce!28-Feb-07 22:53
Sauce!28-Feb-07 22:53 
QuestionFile Handling in vc++ Pin
siddharthsan27-Feb-07 18:53
siddharthsan27-Feb-07 18:53 
AnswerRe: File Handling in vc++ Pin
ThatsAlok27-Feb-07 19:30
ThatsAlok27-Feb-07 19:30 
QuestionRe: File Handling in vc++ Pin
David Crow28-Feb-07 2:56
David Crow28-Feb-07 2:56 
Questionwriting to file Pin
deeps_cute27-Feb-07 18:38
deeps_cute27-Feb-07 18:38 
AnswerRe: writing to file Pin
Hamid_RT27-Feb-07 18:52
Hamid_RT27-Feb-07 18:52 
AnswerRe: writing to file Pin
_AnsHUMAN_ 27-Feb-07 18:54
_AnsHUMAN_ 27-Feb-07 18:54 
AnswerRe: writing to file Pin
ThatsAlok27-Feb-07 19:51
ThatsAlok27-Feb-07 19:51 
AnswerRe: writing to file Pin
Paresh Chitte27-Feb-07 20:34
Paresh Chitte27-Feb-07 20:34 
GeneralRe: writing to file Pin
ThatsAlok27-Feb-07 21:20
ThatsAlok27-Feb-07 21:20 

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.