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 |
|
jb lee
|
Apr 18, 2006 - 3:32 AM
|
#if (!defined __EXT_PROFUIS_STATIC_LINK || defined __EXT_PROFUIS_STATIC_LINK_WITH_RESOURCES)
CExtLocalResourceHelper _LRH; CWinApp * pApp = ::AfxGetApp(); ASSERT_VALID( pApp ); m_hCursorResizingH = pApp->LoadCursor( MAKEINTRESOURCE( IDC_EXT_RESIZE_H1 ) ); ASSERT( m_hCursorResizingH != NULL ); // ==> ASSERTION FAILED m_hCursorResizingV = pApp->LoadCursor( MAKEINTRESOURCE( IDC_EXT_RESIZE_V1 ) ); ASSERT( m_hCursorResizingV != NULL ); #else
m_hCursorResizingH = ::LoadCursor( NULL, IDC_SIZEWE ); ASSERT( m_hCursorResizingH != NULL ); m_hCursorResizingV = ::LoadCursor( NULL, IDC_SIZENS ); ASSERT( m_hCursorResizingV != NULL );
#endif // #if (!defined __EXT_PROFUIS_STATIC_LINK || defined __EXT_PROFUIS
|
|
jb lee
|
Apr 18, 2006 - 3:39 AM
|
I knew why : How to link statically with Prof-UIS?
|
|
Technical Support
|
Apr 18, 2006 - 7:13 AM
|
Please add the following lines to the .rc2 file of that project: #if ( !(defined _AFXDLL && !defined __STATPROFUIS_WITH_DLLMFC__) )
#include <Resources/Resource.rc>
#endif
|
|