|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Adrian M
|
Jul 4, 2006 - 12:05 PM
|
My app used to work fine with 2.51. I upgraded to 2.54 and now when I try to move toolbars around I am getting an assert in debug mode. In release mode they can be moved, but not re-docked.
Here is part of the stack trace:
CExtPaintManager::DockMarkerBase::CreateFromBitmapResources(CRect rcScreen={...}, CExtPaintManager::eDockMarkerType_t eDockMarkerType=__EDMT_2005_TOP, unsigned long clrTransparentIn=65280, const char * strResourceBmpIn=0x000076b8, const char * strResourceBmpOut=0x000076b8, const char * strResourceTypeBmpIn=0x00000002, const char * strResourceTypeBmpOut=0x00000002, HINSTANCE__ * hInstBmpIn=0x00000000, HINSTANCE__ * hInstBmpOut=0x00000000) Line 29430 + 0x1c C++ CExtPaintManager::DockMarkerBeta2::Create(bool bCentralMode=false, CExtPaintManager::eDockMarkerType_t eDockMarkerType=__EDMT_2005_TOP, CRect rcScreen={...}) Line 30204 + 0x41 C++ CExtPaintManager::DockMarkerBase::Create(bool bCentralMode=false, CExtPaintManager::eDockMarkerType_t eDockMarkerType=__EDMT_2005_GROUP_SPARSED, CRect rcScreen={...}) Line 30028 + 0x2f C++ CExtPaintManager::DockMarker_CreateWnds(HWND__ * hWndLastDynamicTarget=0x00000000, CExtPaintManager::eDockMarkerType_t eDockMarkerType=__EDMT_2005_GROUP_SPARSED, CRect rcScreen={...}, CTypedPtrArray<CPtrArray,CExtDynDockMarkerWnd *> & arrDockMarkerWnds={...}) Line 30543 + 0x2a C++ CExtDynDockMarkerWnd::CreateOuterMarkers(CFrameWnd * pFrame=0x003fe458, bool bShow=false, CExtPaintManager * pPM=0x003fe160) Line 20977 + 0x41 C++ CExtControlBar::_DraggingStart(const CPoint & point={...}, const CPoint & pointOffset={...}, CSize sizeWaitMouseMove={...}) Line 10568 + 0x30 C++ CExtControlBar::OnLButtonDown(unsigned int nFlags=1, CPoint point={...}) Line 8398 + 0x2e C++ mfc71d.dll!CWnd::OnWndMsg(unsigned int message=513, unsigned int wParam=1, long lParam=-1048485, long * pResult=0x0012f60c) Line 2164 C++ mfc71d.dll!CWnd::WindowProc(unsigned int message=513, unsigned int wParam=1, long lParam=-1048485) Line 1745 + 0x1e C++ mfc71d.dll!CControlBar::WindowProc(unsigned int nMsg=513, unsigned int wParam=1, long lParam=-1048485) Line 503 + 0x14 C++
|
|
Suhai Gyorgy
|
Jul 5, 2006 - 1:52 AM
|
I had the same problem before. The support answered this:
The problem relates to failure of loading resources. Please check that you included the following line in your *.rc2 file:
#if ( !(defined _AFXDLL && !defined __STATPROFUIS_WITH_DLLMFC__) ) #include <Resources/Resource.rc> #endif
You can read more about this issue in the FAQ How to link statically with Prof-UIS?.
Chris
|
|
Adrian M
|
Jul 5, 2006 - 10:05 AM
|
Thanks! I’ll try this.
Adrian
|
|