Hi,
First of all many thanks for your help and input.
I tried the same code above in the codejock colorpicker sample and that crashed again and at the same place. Please find the call stack below.
> mfc80d.dll!CWnd::PostMessageA(unsigned int message=16, unsigned int wParam=0, long lParam=0) Line 49 + 0x28 bytes C++ ToolkitPro1120vc80D.dll!CXTColorPopup::EndSelection(int nCurSel=0) Line 229 C++ ToolkitPro1120vc80D.dll!CXTColorSelectorCtrl::OnLButtonUp(unsigned int nFlags=0, CPoint point={...}) Line 585 + 0x19 bytes C++ mfc80d.dll!CWnd::OnWndMsg(unsigned int message=514, unsigned int wParam=0, long lParam=1245250, long * pResult=0x0012f130) Line 2169 C++ ToolkitPro1120vc80D.dll!CXTColorSelectorCtrl::OnWndMsg(unsigned int message=514, unsigned int wParam=0, long lParam=1245250, long * pResult=0x0012f130) Line 46 + 0x7b bytes C++ mfc80d.dll!CWnd::WindowProc(unsigned int message=514, unsigned int wParam=0, long lParam=1245250) Line 1741 + 0x20 bytes C++ mfc80d.dll!AfxCallWndProc(CWnd * pWnd=0x0037be90, HWND__ * hWnd=0x005d0b84, unsigned int nMsg=514, unsigned int wParam=0, long lParam=1245250) Line 240 + 0x1c bytes C++ mfc80d.dll!AfxWndProc(HWND__ * hWnd=0x005d0b84, unsigned int nMsg=514, unsigned int wParam=0, long lParam=1245250) Line 389 C++ mfc80d.dll!AfxWndProcBase(HWND__ * hWnd=0x005d0b84, unsigned int nMsg=514, unsigned int wParam=0, long lParam=1245250) Line 411 + 0x15 bytes C++ user32.dll!7e418734() [Frames below may be incorrect and/or missing, no symbols loaded for user32.dll] user32.dll!7e418816() user32.dll!7e42a013() user32.dll!7e42a998() ToolkitPro1120vc80D.dll!CXTWndHook::WindowProc(unsigned int message=514, unsigned int wParam=0, long lParam=1245250) Line 81 + 0x5b bytes C++ ToolkitPro1120vc80D.dll!CXTShadowHook::WindowProc(unsigned int message=514, unsigned int wParam=0, long lParam=1245250) Line 64 + 0x14 bytes C++ ToolkitPro1120vc80D.dll!CXTWndHook::WindowProc(unsigned int message=514, unsigned int wParam=0, long lParam=1245250) Line 81 + 0x2a bytes C++ ToolkitPro1120vc80D.dll!CXTShadowHook::WindowProc(unsigned int message=514, unsigned int wParam=0, long lParam=1245250) Line 64 + 0x14 bytes C++ ToolkitPro1120vc80D.dll!CXTWindowMap::HookWndProc(HWND__ * hWnd=0x005d0b84, unsigned int message=514, unsigned int wParam=0, long lParam=1245250) Line 138 + 0x1b bytes C++ user32.dll!7e418734() user32.dll!7e418816() user32.dll!7e4189cd() user32.dll!7e4196c7() mfc80d.dll!AfxInternalPumpMessage() Line 183 C++ mfc80d.dll!CWinThread::PumpMessage() Line 896 C++ mfc80d.dll!AfxPumpMessage() Line 190 + 0xd bytes C++ mfc80d.dll!CWnd::RunModalLoop(unsigned long dwFlags=4) Line 4322 + 0x5 bytes C++ mfc80d.dll!CDialog::DoModal() Line 587 + 0xc bytes C++ ColorPickerD.exe!CColorPickerApp::InitInstance() Line 84 + 0xb bytes C++ mfc80d.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00151f3d, int nCmdShow=1) Line 37 + 0xd bytes C++ ColorPickerD.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00151f3d, int nCmdShow=1) Line 33 C++ ColorPickerD.exe!__tmainCRTStartup() Line 589 + 0x35 bytes C ColorPickerD.exe!WinMainCRTStartup() Line 414 C kernel32.dll!7c817067()
|