p***@gmail.com
2017-10-25 09:53:27 UTC
I am working on a doc object server (exe)whose client area is taken up by a
diagramming ActiveX control. The user can draw a shape and drag/drop it on a
palette, which is part of the control. Every shape dropped on the palette
has both a palette representation and an actual representation. The user can
click on a palette representation and edit its representations. This is done
by displaying a dialog with two instances of the same control. The dialog
also has other buttons. These buttons bring up additional dialogs for
application specific info. My application is crashing when any of these
dialogs ( they don't contain any ActiveX controls) is displayed and the
1. Moves the dialog and closes it.
2. Switches to another app, comes back, and closes it.
COleControlSite::GetDefBtnCode() line 590 + 3 bytes
COccManager::GetDefBtnCode(CWnd * 0x007b9d30 {CWnd hWnd=0xdddddddd}) line
331 + 11 bytes
CheckDefPushButton(CWnd * 0x0067f82c {CPtEditIconDialog hWnd=0x00000950},
CWnd * 0x007b9d30 {CWnd hWnd=0xdddddddd}, CWnd * 0x007b9b90 {CWnd hWnd=???})
line 411 + 15 bytes
COccManager::IsDialogMessageA(CWnd * 0x0067f82c {CPtEditIconDialog
hWnd=0x00000950}, tagMSG * 0x10091de8 {msg=0x00000202 wp=0x00000000
lp=0x00040014}) line 610 + 19 bytes
CWnd::IsDialogMessageA(tagMSG * 0x10091de8 {msg=0x00000202 wp=0x00000000
lp=0x00040014}) line 183 + 33 bytes
CWnd::PreTranslateInput(tagMSG * 0x10091de8 {msg=0x00000202 wp=0x00000000
lp=0x00040014}) line 3466
CDialog::PreTranslateMessage(tagMSG * 0x10091de8 {msg=0x00000202
wp=0x00000000 lp=0x00040014}) line 91
CWnd::WalkPreTranslateTree(HWND__ * 0x00000950, tagMSG * 0x10091de8
{msg=0x00000202 wp=0x00000000
lp=0x00040014}) line 2681 + 18 bytes
CWinThread::PreTranslateMessage(tagMSG * 0x10091de8 {msg=0x00000202
wp=0x00000000 lp=0x00040014}) line 679 + 18 bytes
CWinThread::PumpMessage() line 859 + 30 bytes
CWnd::RunModalLoop(unsigned long 4) line 3531 + 19 bytes
CDialog::DoModal() line 533 + 12 bytes
Any help is appreciated.
Krish
+1,diagramming ActiveX control. The user can draw a shape and drag/drop it on a
palette, which is part of the control. Every shape dropped on the palette
has both a palette representation and an actual representation. The user can
click on a palette representation and edit its representations. This is done
by displaying a dialog with two instances of the same control. The dialog
also has other buttons. These buttons bring up additional dialogs for
application specific info. My application is crashing when any of these
dialogs ( they don't contain any ActiveX controls) is displayed and the
1. Moves the dialog and closes it.
2. Switches to another app, comes back, and closes it.
COleControlSite::GetDefBtnCode() line 590 + 3 bytes
COccManager::GetDefBtnCode(CWnd * 0x007b9d30 {CWnd hWnd=0xdddddddd}) line
331 + 11 bytes
CheckDefPushButton(CWnd * 0x0067f82c {CPtEditIconDialog hWnd=0x00000950},
CWnd * 0x007b9d30 {CWnd hWnd=0xdddddddd}, CWnd * 0x007b9b90 {CWnd hWnd=???})
line 411 + 15 bytes
COccManager::IsDialogMessageA(CWnd * 0x0067f82c {CPtEditIconDialog
hWnd=0x00000950}, tagMSG * 0x10091de8 {msg=0x00000202 wp=0x00000000
lp=0x00040014}) line 610 + 19 bytes
CWnd::IsDialogMessageA(tagMSG * 0x10091de8 {msg=0x00000202 wp=0x00000000
lp=0x00040014}) line 183 + 33 bytes
CWnd::PreTranslateInput(tagMSG * 0x10091de8 {msg=0x00000202 wp=0x00000000
lp=0x00040014}) line 3466
CDialog::PreTranslateMessage(tagMSG * 0x10091de8 {msg=0x00000202
wp=0x00000000 lp=0x00040014}) line 91
CWnd::WalkPreTranslateTree(HWND__ * 0x00000950, tagMSG * 0x10091de8
{msg=0x00000202 wp=0x00000000
lp=0x00040014}) line 2681 + 18 bytes
CWinThread::PreTranslateMessage(tagMSG * 0x10091de8 {msg=0x00000202
wp=0x00000000 lp=0x00040014}) line 679 + 18 bytes
CWinThread::PumpMessage() line 859 + 30 bytes
CWnd::RunModalLoop(unsigned long 4) line 3531 + 19 bytes
CDialog::DoModal() line 533 + 12 bytes
Any help is appreciated.
Krish
I'm facing the similar crash