How to call ActiveX control inside DLL
Posted on 2002-06-14
I am new for VC++ and currently writing a DLL which should be able to invoke function of the ActiveX control.
I tried to create a new win32 DLL project from VC and added a reference to the ActiveX control. However, I failed to add the reference to the activeX control and got the following message
"The Components and Controls Gallery can only be used to add AcitveX control to projects that a supported by ClassWizard. See help topic 'Adding an ActiveX control to a project' for more information"
Then I found the ClassWizard function was disabled in the menu (ClassWizard function is enabled in the Win32 application project).
Do I miss anything?
How can I invoke function of ActiveX control inside a DLL?
Thanks for any comments or adivse