Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: lossing focus on a dialog box Pin
valikac11-Aug-03 12:08
valikac11-Aug-03 12:08 
GeneralCOM1 Pin
Anonymous11-Aug-03 9:54
Anonymous11-Aug-03 9:54 
GeneralRe: COM1 Pin
David Crow11-Aug-03 10:33
David Crow11-Aug-03 10:33 
GeneralRe: COM1 Pin
Anonymous11-Aug-03 11:26
Anonymous11-Aug-03 11:26 
GeneralRe: COM1 Pin
David Crow12-Aug-03 2:35
David Crow12-Aug-03 2:35 
GeneralRe: COM1 Pin
Anonymous12-Aug-03 3:34
Anonymous12-Aug-03 3:34 
GeneralRe: COM1 Pin
Anonymous12-Aug-03 9:21
Anonymous12-Aug-03 9:21 
GeneralSOS! Release version crashed Pin
lucy11-Aug-03 9:28
lucy11-Aug-03 9:28 
yes, the debugging version is working okay, and the release version crashed.

It's a SDI project. After the release version run for about 5 seconds, this error message pop up:
"First-chance exception in MyApp.exe: 0xC0000005: Access Violation."

The call stack is:

CWnd::AttachControlSite(CWnd * const 0x010b7b2c {CMapPtrToPtr}, CHandleMap * 0x010b7b28) line 420
CWnd::FromHandle(HWND__ * 0x00060aaa) line 293
CWnd::GetOwner(const CWnd * const 0x010b7b2c {CMapPtrToPtr}) line 35 + 22 bytes
AfxGetParentOwner(HWND__ * 0x00050ad2) line 2141 + 7 bytes
CWnd::GetTopLevelParent(const CWnd * const 0x010b7b2c {CMapPtrToPtr}) line 2157 + 6 bytes
CWinThread::PreTranslateMessage(CWinThread * const 0x010b7b2c {CMapPtrToPtr}, tagMSG * 0x004751d0 {msg=0x00000118 wp=0x0000ffff lp=0xa00258ae}) line 680 + 7 bytes
CWinThread::PumpMessage(CWinThread * const 0x010b7b2c {CMapPtrToPtr}) line 848 + 17 bytes
CWinThread::Run(CWinThread * const 0x010b7b2c {CMapPtrToPtr}) line 487 + 7 bytes
CWinApp::Run(CWinApp * const 0x010b7b2c {CMapPtrToPtr}) line 399 + 7 bytes
AfxWinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00133476, int 1) line 49 + 7 bytes
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00133476, int 1) line 30
TCSTATUS! WinMainCRTStartup + 224 bytes


any hint?

Thank you a lot for any help!
GeneralRe: SOS! Release version crashed Pin
Maximilien11-Aug-03 9:41
Maximilien11-Aug-03 9:41 
GeneralRe: SOS! Release version crashed Pin
David Crow11-Aug-03 9:48
David Crow11-Aug-03 9:48 
GeneralRe: SOS! Release version crashed Pin
lucy11-Aug-03 9:53
lucy11-Aug-03 9:53 
GeneralRe: SOS! Release version crashed Pin
David Crow11-Aug-03 10:32
David Crow11-Aug-03 10:32 
Generalput my activeX on CfileDailog Pin
sdfdsfa11-Aug-03 6:30
sdfdsfa11-Aug-03 6:30 
GeneralFree the loaded dll Pin
orcun colak11-Aug-03 5:37
orcun colak11-Aug-03 5:37 
GeneralRe: Free the loaded dll Pin
valikac11-Aug-03 12:09
valikac11-Aug-03 12:09 
GeneralRe: Free the loaded dll Pin
igor196011-Aug-03 18:51
igor196011-Aug-03 18:51 
QuestionHow to read from ADO recordset Pin
haritadala11-Aug-03 4:53
haritadala11-Aug-03 4:53 
QuestionHow to delete a dialog class in MFC project? Pin
mr200311-Aug-03 4:09
mr200311-Aug-03 4:09 
AnswerRe: How to delete a dialog class in MFC project? Pin
jhwurmbach11-Aug-03 5:21
jhwurmbach11-Aug-03 5:21 
QuestionWhere to place "OLEMISC_ACTIVATEWHENVISIBLE" at ATL ActiveX control? Pin
vgrigor11-Aug-03 3:59
vgrigor11-Aug-03 3:59 
AnswerRe: Where to place "OLEMISC_ACTIVATEWHENVISIBLE" at ATL ActiveX control? Pin
Mike Dimmick11-Aug-03 11:08
Mike Dimmick11-Aug-03 11:08 
GeneralRe: Where to place "OLEMISC_ACTIVATEWHENVISIBLE" at ATL ActiveX control? Pin
vgrigor11-Aug-03 20:39
vgrigor11-Aug-03 20:39 
GeneralCreating a loop in a dialog Pin
Kayembi11-Aug-03 3:45
Kayembi11-Aug-03 3:45 
GeneralRe: Creating a loop in a dialog Pin
Ravi Bhavnani11-Aug-03 3:53
professionalRavi Bhavnani11-Aug-03 3:53 
GeneralRe: Creating a loop in a dialog Pin
Kayembi11-Aug-03 12:10
Kayembi11-Aug-03 12:10 

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.