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. ActiveX with Visual Studio 6.0

ActiveX with Visual Studio 6.0

Scheduled Pinned Locked Moved C / C++ / MFC
comhelpquestioncsharpvisual-studio
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.
  • M Offline
    M Offline
    MrChefman
    wrote on last edited by
    #1

    How can I build an ActiveX-DLL in Visual Studio 6.0? I have especially a problem in constucting a new method, which is an ActiveX-Component. There's a tool called "ActiveX Testcontainer" in which I should see my methods, but I don't. What's wrong? I created a project with the "ActiveX-Control-Wizard" and added a "Member-Function". This isn't shown as a method in the "ActiveX Testcontainer". Thanks for your help! Markus Do also have a look at my earlier Thread: http://www.codeproject.com/script/comments/forums.asp?forumid=1647&fr=26#xx1362023xx[^]

    A 1 Reply Last reply
    0
    • M MrChefman

      How can I build an ActiveX-DLL in Visual Studio 6.0? I have especially a problem in constucting a new method, which is an ActiveX-Component. There's a tool called "ActiveX Testcontainer" in which I should see my methods, but I don't. What's wrong? I created a project with the "ActiveX-Control-Wizard" and added a "Member-Function". This isn't shown as a method in the "ActiveX Testcontainer". Thanks for your help! Markus Do also have a look at my earlier Thread: http://www.codeproject.com/script/comments/forums.asp?forumid=1647&fr=26#xx1362023xx[^]

      A Offline
      A Offline
      Anilkumar K V
      wrote on last edited by
      #2

      You have to "Add Method" to add exported like function, It seems that you just add member function to the class only. Try right clicking IDispatch interface ( can identify with an image 'o-0' before the class name) and use "Add Method" to add a functon, which will be available in test container.

      M 1 Reply Last reply
      0
      • A Anilkumar K V

        You have to "Add Method" to add exported like function, It seems that you just add member function to the class only. Try right clicking IDispatch interface ( can identify with an image 'o-0' before the class name) and use "Add Method" to add a functon, which will be available in test container.

        M Offline
        M Offline
        MrChefman
        wrote on last edited by
        #3

        OK, it works! But there's still one question: when I compile the project, I get an .ocx file. I want to implement this funciton for a SOAP-Server. The generator need a .dll file. Can I simply change the extension?

        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