Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question64 bit MFC apps Pin
ForNow7-May-13 6:59
ForNow7-May-13 6:59 
AnswerRe: 64 bit MFC apps Pin
Richard MacCutchan7-May-13 7:01
mveRichard MacCutchan7-May-13 7:01 
GeneralRe: 64 bit MFC apps Pin
ForNow7-May-13 10:16
ForNow7-May-13 10:16 
AnswerRe: 64 bit MFC apps Pin
Maximilien7-May-13 7:34
Maximilien7-May-13 7:34 
GeneralRe: 64 bit MFC apps Pin
ForNow7-May-13 10:15
ForNow7-May-13 10:15 
QuestionRe: 64 bit MFC apps Pin
Maximilien7-May-13 10:21
Maximilien7-May-13 10:21 
AnswerRe: 64 bit MFC apps Pin
ForNow7-May-13 10:28
ForNow7-May-13 10:28 
AnswerRe: 64 bit MFC apps Pin
ForNow7-May-13 19:41
ForNow7-May-13 19:41 
The following is the code that's giving me the exception


C++
CWnd *windowptr = new CWnd;
windowptr->Attach(main_app->mybaseeventptr->windows_handle);
windowptr->AssertValid();
main_app = (CHERC_CMDApp *)AfxGetApp();
 my_event = main_app->mybaseeventptr;
 my_event->len = 30;
 ret =   windowptr->SendMessage(WM_HERCGUI_MESS,(WPARAM) my_event->len,(LPARAM) my_event->buffer_ptr);

GeneralRe: 64 bit MFC apps Pin
Richard MacCutchan7-May-13 20:36
mveRichard MacCutchan7-May-13 20:36 
GeneralRe: 64 bit MFC apps Pin
ForNow8-May-13 2:53
ForNow8-May-13 2:53 
GeneralRe: 64 bit MFC apps Pin
Richard MacCutchan8-May-13 3:04
mveRichard MacCutchan8-May-13 3:04 
GeneralRe: 64 bit MFC apps Pin
Maximilien8-May-13 1:26
Maximilien8-May-13 1:26 
GeneralRe: 64 bit MFC apps Pin
Jochen Arndt8-May-13 2:19
professionalJochen Arndt8-May-13 2:19 
QuestionRe: 64 bit MFC apps Pin
David Crow8-May-13 4:22
David Crow8-May-13 4:22 
QuestionMemory Management in C++ - Understanding Stack and Heap in Detail.? Pin
mbatra316-May-13 23:06
mbatra316-May-13 23:06 
AnswerRe: Memory Management in C++ - Understanding Stack and Heap in Detail.? Pin
Vijjuuu.7-May-13 2:07
Vijjuuu.7-May-13 2:07 
GeneralRe: Memory Management in C++ - Understanding Stack and Heap in Detail.? Pin
Erudite_Eric8-May-13 1:33
Erudite_Eric8-May-13 1:33 
QuestionRe: Memory Management in C++ - Understanding Stack and Heap in Detail.? Pin
David Crow7-May-13 3:51
David Crow7-May-13 3:51 
AnswerRe: Memory Management in C++ - Understanding Stack and Heap in Detail.? Pin
Erudite_Eric8-May-13 1:48
Erudite_Eric8-May-13 1:48 
QuestionC++ - Code performance - code injection Pin
ixjf6-May-13 20:45
ixjf6-May-13 20:45 
AnswerRe: C++ - Code performance - code injection Pin
ThatsAlok6-May-13 21:25
ThatsAlok6-May-13 21:25 
GeneralRe: C++ - Code performance - code injection Pin
ixjf6-May-13 21:47
ixjf6-May-13 21:47 
GeneralRe: C++ - Code performance - code injection Pin
ThatsAlok7-May-13 1:51
ThatsAlok7-May-13 1:51 
GeneralRe: C++ - Code performance - code injection Pin
Chris Losinger7-May-13 1:56
professionalChris Losinger7-May-13 1:56 
GeneralRe: C++ - Code performance - code injection Pin
ixjf7-May-13 2:19
ixjf7-May-13 2:19 

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.