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 |
|
Sergio Buonanno
|
Sep 23, 2010 - 10:26 AM
|
I’ve tried to port my MDI application with Prof-UIS 2.90 to Visual Studio 2010 from Visual Studio 2008 but now it returns an assert in:
CExtPageNavigatorWnd::CExtPageNavigatorWnd() : m_bDirectCreateCall( false ) , m_bInitialized( false ) , m_bUpdatingLayout( false ) , m_bAutoDeleteWindow( false ) , m_rcPageNavigatorClient( 0, 0, 0, 0 ) , m_rcPageNavigatorInnerArea( 0, 0, 0, 0 ) , m_rcItemCaption( 0, 0, 0, 0 ) , m_rcCollapsedItemsArea( 0, 0, 0, 0 ) , m_rcExpandedItemsArea( 0, 0, 0, 0 ) , m_rcSplitter( 0, 0, 0, 0 ) , m_bSplitterMouseTracking( false ) , m_bSplitterMouseHover( false ) , m_bCanceling( false ) , m_bItemsMouseHover( false ) , m_nMinPageAreaHeight( 200 ) , m_nExpandedItemsDesired( 0 ) , m_bSplitterVisible( true ) , m_bSplitterEnabled( true ) , m_hSizeCursor( NULL ) , m_hHandCursor( NULL ) , m_pCurrentItem( NULL ) , m_lParamCookie( 0 ) , m_hWndNotificationReceiver( NULL ) , m_hFont( NULL ) { VERIFY( RegisterWndClass() ); <<<<-------------------- it fails here m_sCommandProfile.Format( _T("PageNavigator-%p-%d-%d"), this, int( ::GetCurrentThreadId() ), int( ::GetCurrentProcessId() ) );
PmBridge_Install(); }
Is there anything I could do to fix this issue ?
|
|
Technical Support
|
Sep 24, 2010 - 3:15 AM
|
Could you please step into the CExtPageNavigatorWnd::RegisterWndClass() method in debug mode, then step into ::AfxRegisterClass() method and take a look at where the real error occur? Then modify the CExtPageNavigatorWnd::RegisterWndClass() method source code by adding the GetLastError() API invocation. The result returned by the GetLastError() API explains which kind of problem actually occurred.
|
|
Sergio Buonanno
|
Sep 24, 2010 - 4:28 AM
|
I’m really sorry. It was my fault, I added a path to the system variables that pointed to Prof-UIS DLL built with Visual Studio 2008 and I tried to debug my application from inside VS 2010.....I apologize for this stupid mistake.
|
|