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 General Discussion » static build fails on LoadBmp_Resource, dll build ok Collapse All
Subject Author Date
steven frierdich Jan 31, 2007 - 2:05 PM

In my static MBCS buld of the Prof-UIS version 2.54 the .LoadBMP_Resource function is failing when I compile as a static library.
The LoadBMP_Resource does not fail though when I compile as DLL. Can someone inform me what do I need to uncomment or comment in out
in the Prof-UIS.h file to get the static version to compile    
VERIFY( m_bmpDCA.LoadBMP_Resource( MAKEINTRESOURCE(IDB_EXT_2007_DCA_OBSIDIAN) ) );
VERIFY( m_bmpNcFrameActive.LoadBMP_Resource( MAKEINTRESOURCE(IDB_EXT_2007_NC_FRAME_ACTIVE_OBSIDIAN) ) );
VERIFY( m_bmpNcFrameInactive.LoadBMP_Resource( MAKEINTRESOURCE(IDB_EXT_2007_NC_FRAME_INACTIVE_OBSIDIAN) ) );

steven frierdich Jan 31, 2007 - 2:29 PM

Found the fix needed to ass the prosys resource.rc file in my rc2 file