Click here to Skip to main content
15,904,415 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Abstraction and Encapsulation Pin
_AnsHUMAN_ 1-May-06 20:02
_AnsHUMAN_ 1-May-06 20:02 
GeneralRe: Abstraction and Encapsulation Pin
Krishnatv1-May-06 20:18
Krishnatv1-May-06 20:18 
AnswerRe: Abstraction and Encapsulation Pin
David Crow2-May-06 3:08
David Crow2-May-06 3:08 
QuestionIE Programming Pin
dipali_be20031-May-06 19:12
dipali_be20031-May-06 19:12 
AnswerRe: IE Programming Pin
voorugonda prashanth1-May-06 20:36
voorugonda prashanth1-May-06 20:36 
Questionsending message Ctrl + C Pin
vtalau1-May-06 18:50
vtalau1-May-06 18:50 
AnswerRe: sending message Ctrl + C Pin
Nibu babu thomas1-May-06 19:09
Nibu babu thomas1-May-06 19:09 
QuestionwParam referring to A STRING... Pin
vtalau1-May-06 18:49
vtalau1-May-06 18:49 
I have a trouble like below description :
My program has a dll file and a server application

in the mydll.dll, I want to send a message to the server application.
The message has the wParam referring to a string. I wrote my code :

CString speak1;
....
LPTSTR str = (LPTSTR)malloc((speak1.GetLength()+1) * sizeof(TCHAR));
....//copy the data of the "speak1" to the "str"
::PostMessage(hMainWindow,WM_USER+1,(WPARAM)str,str.GetLength()+1);
free(str) ;

in my server application, I try to get the address of the string from the
wParam. However, I can't get the content.

Please, help me, point me to some pages or give me some intruction.
Thanks a lot.
AnswerRe: wParam referring to A STRING... Pin
Nibu babu thomas1-May-06 19:12
Nibu babu thomas1-May-06 19:12 
AnswerRe: wParam referring to A STRING... Pin
David Crow2-May-06 3:13
David Crow2-May-06 3:13 
QuestionChild Dialog scrollbars Pin
Tarek Jabri1-May-06 18:12
Tarek Jabri1-May-06 18:12 
AnswerRe: Child Dialog scrollbars Pin
Hamid_RT1-May-06 18:24
Hamid_RT1-May-06 18:24 
GeneralRe: Child Dialog scrollbars Pin
Tarek Jabri1-May-06 18:39
Tarek Jabri1-May-06 18:39 
Questionhow to save the value/string of CFlexgrid cells as a file onto hard disk? Pin
zeus_master1-May-06 16:56
zeus_master1-May-06 16:56 
AnswerRe: how to save the value/string of CFlexgrid cells as a file onto hard disk? Pin
Nibu babu thomas1-May-06 19:16
Nibu babu thomas1-May-06 19:16 
GeneralRe: how to save the value/string of CFlexgrid cells as a file onto hard disk? Pin
zeus_master1-May-06 21:01
zeus_master1-May-06 21:01 
GeneralRe: how to save the value/string of CFlexgrid cells as a file onto hard disk? Pin
Nibu babu thomas1-May-06 21:06
Nibu babu thomas1-May-06 21:06 
GeneralRe: how to save the value/string of CFlexgrid cells as a file onto hard disk? Pin
venadder2-May-06 6:26
venadder2-May-06 6:26 
GeneralRe: how to save the value/string of CFlexgrid cells as a file onto hard disk? Pin
venadder2-May-06 6:29
venadder2-May-06 6:29 
Questiondialog button disabled !!!! Pin
venadder1-May-06 15:05
venadder1-May-06 15:05 
AnswerRe: dialog button disabled !!!! Pin
Nibu babu thomas1-May-06 17:58
Nibu babu thomas1-May-06 17:58 
GeneralRe: dialog button disabled !!!! Pin
venadder2-May-06 6:24
venadder2-May-06 6:24 
GeneralRe: dialog button disabled !!!! Pin
Hamid_RT2-May-06 19:19
Hamid_RT2-May-06 19:19 
GeneralRe: dialog button disabled !!!! Pin
Nibu babu thomas2-May-06 21:11
Nibu babu thomas2-May-06 21:11 
GeneralRe: dialog button disabled !!!! Pin
venadder3-May-06 4:45
venadder3-May-06 4:45 

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.