|
-
May 3rd, 2004, 07:32 AM
#1
How to change the settings to add Activex controls to my programe?
At the first time when i creat my programe i choose no Activex control support in the appwizard,but now ,i have to use some Activex controls,what should i do?
-
May 3rd, 2004, 07:41 AM
#2
Add CoInitialize(NULL) in your app's InitInstance function ( to make sure it gets called before any control gets created).
-
May 5th, 2004, 08:11 AM
#3
Take a look at the MSDN article ActiveX Control Containers: Manually Enabling ActiveX Control Containment. It indicates how to use AfxEnableControlContainer() to enable ActiveX control support.
Gort...Klaatu, Barada Nikto!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|