Click here to Skip to main content
15,887,812 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7 Pin
Virendra_ec1012-Aug-12 20:37
Virendra_ec1012-Aug-12 20:37 
QuestionRe: wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7 Pin
David Crow2-Aug-12 6:55
David Crow2-Aug-12 6:55 
AnswerRe: wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7 Pin
Virendra_ec1012-Aug-12 20:39
Virendra_ec1012-Aug-12 20:39 
AnswerRe: wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7 Pin
Stephen Hewitt3-Aug-12 6:36
Stephen Hewitt3-Aug-12 6:36 
QuestionTab control Pin
ekinnh1-Aug-12 15:38
ekinnh1-Aug-12 15:38 
QuestionRe: Tab control Pin
Eugen Podsypalnikov1-Aug-12 19:53
Eugen Podsypalnikov1-Aug-12 19:53 
AnswerRe: Tab control Pin
Software_Developer1-Aug-12 21:40
Software_Developer1-Aug-12 21:40 
QuestionCInvalodArg execption in crtexe.c Pin
ForNow1-Aug-12 13:14
ForNow1-Aug-12 13:14 
Hi,

I have a C++ MFC program which I am doing communicating with C dos console program

while doing a return from various methods in a CDialog derived class I get a

CInvalidArg execption in crtexe.c at the following location

C++
fdef WPRFLAG
            mainret = wWinMain(
#else  /* WPRFLAG */
            mainret = WinMain(
#endif  /* WPRFLAG */
                       (HINSTANCE)&__ImageBase,
                       NULL,
                       lpszCommandLine,
                       StartupInfo.dwFlags & STARTF_USESHOWWINDOW
                        ? StartupInfo.wShowWindow
                        : SW_SHOWDEFAULT
                      );
#else  /* _WINMAIN_ */


My program is a MFC program I have a derived CWinApp that does the initlization

the CDialog header has both a
C++
DECLARE_DYNAMIC(CprogDebug)

and
C++
DECLARE_MESSAGE_MAP()


the code has implement_dynamic and message map entries

C++
IMPLEMENT_DYNAMIC(CprogDebug, CDialog)

BEGIN_MESSAGE_MAP(CprogDebug, CDialog)
        ON_MESSAGE(WM_RECEIVE_SOCK_MESS,receive_tcpip)
      //   ON_MESSAGE(WM_HERCGUI_MESS,break_set)
//       ON_MESSAGE(WM_KEYDOWN,break_point)
//       ON_MESSAGE(WM_KEYUP,break_point)
                 ON_NOTIFY(EN_REQUESTRESIZE,IDC_RICHEDIT22,OnRequestResize)
 END_MESSAGE_MAP()

this execption was also the subject of a previous post
when I got the exception at this location by Doing a SendMessage to the CDialog window
from a worker thread

any insights would be appreciated
AnswerRe: CInvalodArg execption in crtexe.c Pin
Richard MacCutchan1-Aug-12 21:56
mveRichard MacCutchan1-Aug-12 21:56 
QuestionRe: CInvalodArg execption in crtexe.c Pin
CPallini1-Aug-12 23:04
mveCPallini1-Aug-12 23:04 
AnswerRe: CInvalodArg execption in crtexe.c Pin
ForNow1-Aug-12 23:21
ForNow1-Aug-12 23:21 
GeneralRe: CInvalodArg execption in crtexe.c Pin
CPallini1-Aug-12 23:51
mveCPallini1-Aug-12 23:51 
GeneralRe: CInvalodArg execption in crtexe.c Pin
ForNow2-Aug-12 19:02
ForNow2-Aug-12 19:02 
QuestionRe: CInvalodArg execption in crtexe.c Pin
CPallini2-Aug-12 21:18
mveCPallini2-Aug-12 21:18 
AnswerRe: CInvalodArg execption in crtexe.c Pin
ForNow2-Aug-12 21:56
ForNow2-Aug-12 21:56 
QuestionRestart Windows in Safe Mode with Networking button Pin
AndreuTZa0011-Aug-12 9:48
AndreuTZa0011-Aug-12 9:48 
AnswerRe: Restart Windows in Safe Mode with Networking button Pin
André Kraak1-Aug-12 10:08
André Kraak1-Aug-12 10:08 
GeneralRe: Restart Windows in Safe Mode with Networking button Pin
AndreuTZa0011-Aug-12 10:17
AndreuTZa0011-Aug-12 10:17 
AnswerRe: Restart Windows in Safe Mode with Networking button Pin
André Kraak1-Aug-12 10:27
André Kraak1-Aug-12 10:27 
GeneralRe: Restart Windows in Safe Mode with Networking button Pin
AndreuTZa0011-Aug-12 10:36
AndreuTZa0011-Aug-12 10:36 
QuestionRe: Restart Windows in Safe Mode with Networking button Pin
David Crow1-Aug-12 10:26
David Crow1-Aug-12 10:26 
AnswerRe: Restart Windows in Safe Mode with Networking button Pin
AndreuTZa0011-Aug-12 10:35
AndreuTZa0011-Aug-12 10:35 
GeneralRe: Restart Windows in Safe Mode with Networking button Pin
David Crow1-Aug-12 17:22
David Crow1-Aug-12 17:22 
QuestionBuild boost lib without VS Pin
ernst.maurer1-Aug-12 4:36
ernst.maurer1-Aug-12 4:36 
GeneralRe: Build boost lib without VS Pin
jschell1-Aug-12 6:14
jschell1-Aug-12 6:14 

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.