Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Build Automated DLL to be interfaced to VB6.0

Build Automated DLL to be interfaced to VB6.0

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpcomtesting
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thealca
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • T 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

      J Offline
      J Offline
      javad_2005
      wrote on last edited by
      #2

      Try ATL Dlls, They are more powerful! Cheers.

      T 1 Reply Last reply
      0
      • J javad_2005

        Try ATL Dlls, They are more powerful! Cheers.

        T Offline
        T Offline
        thealca
        wrote on last edited by
        #3

        It worked, thanks a lot!!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups