Build Automated DLL to be interfaced to VB6.0
-
I am new with C++, I am a VB6.0 Programmer, and I want to create a automated DLL in C++ that will be interfaced to VB6.0. I Selected MFC AppWizard(dll) to create a new project, then I selected "Regular DLL Using MFC" and checked "Automation" from wizard options. Then I added class and methods using View->Class Wizard, put some codes in it, then compiled (F7). When I instantiated it with VB6.0 this error occurs: Run time error '429' ActiveX can't create Object Did I miss something? I did modify the default compilation settings, does it have something do with this? AI hope you guys can help me. Thank You. :doh: THEALCA
-
I am new with C++, I am a VB6.0 Programmer, and I want to create a automated DLL in C++ that will be interfaced to VB6.0. I Selected MFC AppWizard(dll) to create a new project, then I selected "Regular DLL Using MFC" and checked "Automation" from wizard options. Then I added class and methods using View->Class Wizard, put some codes in it, then compiled (F7). When I instantiated it with VB6.0 this error occurs: Run time error '429' ActiveX can't create Object Did I miss something? I did modify the default compilation settings, does it have something do with this? AI hope you guys can help me. Thank You. :doh: THEALCA
Try ATL Dlls, They are more powerful! Cheers.
-
Try ATL Dlls, They are more powerful! Cheers.