Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS Tech Support » Problem with static linking Collapse All
Subject Author Date
Chris Jackson Apr 16, 2006 - 9:11 AM

When I link using the static libraries, I have problems with the page navigator control. The tooltips flash, the hand cursor is not displayed, and the options dialog is not displayed. It appears as though these resources are not available to the application, and in debug mode, this causes an exception.
Is there anything else that needs to be done to use static linking other than select "MFC in static library"?

Thanks
Chris

Technical Support Apr 16, 2006 - 11:01 AM

Please check whether the .rc2 file of your project contains the following lines

#if ( !(defined _AFXDLL && !defined __STATPROFUIS_WITH_DLLMFC__) )
    #include <Resources/Resource.rc>
#endif
The following FAQ may be helpful with this.