Click here to Skip to main content
15,899,937 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: File System Methods Pin
David Crow20-Sep-06 4:03
David Crow20-Sep-06 4:03 
AnswerRe: File System Methods Pin
Tom Moore21-Sep-06 9:38
Tom Moore21-Sep-06 9:38 
QuestionRe: File System Methods Pin
David Crow21-Sep-06 10:46
David Crow21-Sep-06 10:46 
AnswerRe: File System Methods Pin
Tom Moore21-Sep-06 11:29
Tom Moore21-Sep-06 11:29 
QuestionRe: File System Methods Pin
David Crow22-Sep-06 3:23
David Crow22-Sep-06 3:23 
AnswerRe: File System Methods Pin
Tom Moore23-Sep-06 10:46
Tom Moore23-Sep-06 10:46 
GeneralRe: File System Methods Pin
David Crow25-Sep-06 2:56
David Crow25-Sep-06 2:56 
Questionhow to convert from WPARAM or LPARAM to CString Pin
singersinger20-Sep-06 2:02
singersinger20-Sep-06 2:02 
i want to post a thread message that contain a CString variable like this:
<br />
PostThreadMessage(m_pThread->m_nThreadID,WM_MSG,0,(LPARAM)sString.GetBuffer(sString.GetLength()));<br />


and then handle the msg at the Thread side to process this CString variable
like this:
<br />
CString s = (LPTSTR)pMsg->lParam;<br />
AfxMessageBox(s);<br />

the code compile without errors but the data displayed in the Message box is not the same CString variable that have been sent
so i wanna know wat is wrong with this code
thnx 4 ur time and concern
AnswerRe: how to convert from WPARAM or LPARAM to CString Pin
Naveen20-Sep-06 2:17
Naveen20-Sep-06 2:17 
GeneralRe: how to convert from WPARAM or LPARAM to CString Pin
singersinger20-Sep-06 2:36
singersinger20-Sep-06 2:36 
AnswerRe: how to convert from WPARAM or LPARAM to CString Pin
Jörgen Sigvardsson20-Sep-06 2:31
Jörgen Sigvardsson20-Sep-06 2:31 
GeneralRe: how to convert from WPARAM or LPARAM to CString Pin
Zac Howland20-Sep-06 3:36
Zac Howland20-Sep-06 3:36 
AnswerRe: how to convert from WPARAM or LPARAM to CString Pin
prasad_som20-Sep-06 2:31
prasad_som20-Sep-06 2:31 
GeneralRe: how to convert from WPARAM or LPARAM to CString Pin
Jörgen Sigvardsson20-Sep-06 3:34
Jörgen Sigvardsson20-Sep-06 3:34 
Questioncreating an array of objects dynamically Pin
erfi20-Sep-06 1:56
erfi20-Sep-06 1:56 
AnswerRe: creating an array of objects dynamically Pin
toxcct20-Sep-06 1:57
toxcct20-Sep-06 1:57 
GeneralRe: creating an array of objects dynamically Pin
erfi20-Sep-06 1:59
erfi20-Sep-06 1:59 
GeneralRe: creating an array of objects dynamically Pin
toxcct20-Sep-06 2:06
toxcct20-Sep-06 2:06 
GeneralRe: creating an array of objects dynamically Pin
erfi20-Sep-06 2:09
erfi20-Sep-06 2:09 
GeneralRe: creating an array of objects dynamically Pin
Zac Howland20-Sep-06 3:46
Zac Howland20-Sep-06 3:46 
AnswerRe: creating an array of objects dynamically Pin
_AnsHUMAN_ 20-Sep-06 2:14
_AnsHUMAN_ 20-Sep-06 2:14 
GeneralRe: creating an array of objects dynamically Pin
erfi20-Sep-06 2:55
erfi20-Sep-06 2:55 
GeneralRe: creating an array of objects dynamically Pin
benjymous20-Sep-06 3:25
benjymous20-Sep-06 3:25 
GeneralRe: creating an array of objects dynamically [modified] Pin
_AnsHUMAN_ 20-Sep-06 3:33
_AnsHUMAN_ 20-Sep-06 3:33 
GeneralRe: creating an array of objects dynamically Pin
toxcct20-Sep-06 4:35
toxcct20-Sep-06 4:35 

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.