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 |
|
MUKESH GUPTA
|
Sep 12, 2011 - 6:15 AM
|
|
|
Technical Support
|
Sep 12, 2011 - 1:38 PM
|
The CExt_ProfUIS_ModuleState::InitExtension() API initializes Prof-UIS as extension DLL (RDE) for MFC regular DLL module (such as ActiveX DLL). It’s not a replacement for __PROF_UIS_MANAGE_STATE . Please invoke the CExt_ProfUIS_ModuleState::InitExtension() API in the application’s class InitInstance() virtual method of your ActiveX project:
CExt_ProfUIS_ModuleState::InitExtension(
AfxGetStaticModuleState()
);
The __PROF_UIS_MANAGE_STATE macro is a replacement for MFC’s AFX_MANAGE_STATE macro. We need __PROF_UIS_MANAGE_STATE because AFX_MANAGE_STATE not always works in RDE modules. Your ActiveX project can use either __PROF_UIS_MANAGE_STATE or AFX_MANAGE_STATE .
|
|