Using an MFC Extension DLL from an MFC ActiveX Control 
Author Message
 Using an MFC Extension DLL from an MFC ActiveX Control

I am attempting to "wrap" an MFC Dialog application into an MFC
ActiveX Control.  The MFC application uses some MFC Extension DLLs.

I have managed to get my ActiveX control project to compile and link
and before you ask, yes I have read KB article Q154126 and am using
the two-step initialization.

I am having trouble trying to register the control.  I find using the
de{*filter*} that if I have in my control's main .cpp file:

extern "C" void WINAPI InitMyExtDLL()

then regsvr32 does not even make it into my control's InitInstance().
However, if I do not compile in my dialog app files and remove this
line ( thus not initializing the Extension DLL ) then regsvr32 works
as normal and I can debug through InitIntance and DllRegisterServer().

Does anyone have any ideas?  Thanks.



Sat, 01 Oct 2005 02:09:49 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. How to export a class from Extension MFC dll to another Extension MFC dll

2. a MFC extension DLL in another MFC extension DLL

3. ActiveX Control and MFC Extension DLL

4. Making MFC extension dll using static MFC library

5. loading an MFC DLL that was originally an extension dll from a non MFC dLL

6. Shell extension using MFC extension DLLs

7. Using the MFC ActiveX Control Wizard instead of the MFC AppWizard (exe)

8. Question about using ActiveX control in MFC dll

9. Question about using ActiveX control in MFC dll

10. MFC DLL using an ActiveX Control

11. Question about using ActiveX control in MFC dll

12. MFC DLL using an ActiveX control

 

 
Powered by phpBB® Forum Software