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. VB / VC++ question

VB / VC++ question

Scheduled Pinned Locked Moved C / C++ / MFC
3 Posts 3 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.
  • D Offline
    D Offline
    Danny
    wrote on last edited by
    #1

    Hello, this is a repost as noone could/would answer my question ;-) So here it goes again: Can anyone tell me how to access a vc++ 6 function from vb 6 with maybe some example code or a good website ? I looked through deja.com but found nothing good. I am a newbie to the component stuff. Thanx a lot.

    H J 2 Replies Last reply
    0
    • D Danny

      Hello, this is a repost as noone could/would answer my question ;-) So here it goes again: Can anyone tell me how to access a vc++ 6 function from vb 6 with maybe some example code or a good website ? I looked through deja.com but found nothing good. I am a newbie to the component stuff. Thanx a lot.

      H Offline
      H Offline
      HP
      wrote on last edited by
      #2

      Hi, I think an easy way is to put the "C++" function into a DLL and export it from there. Then link the DLL to the VB program and import the function. Best Regards Holger

      1 Reply Last reply
      0
      • D Danny

        Hello, this is a repost as noone could/would answer my question ;-) So here it goes again: Can anyone tell me how to access a vc++ 6 function from vb 6 with maybe some example code or a good website ? I looked through deja.com but found nothing good. I am a newbie to the component stuff. Thanx a lot.

        J Offline
        J Offline
        jschacker
        wrote on last edited by
        #3

        There is a Micosoft System Journal article that talks about this very thing. I tried the example code and it worked. I also wrote a few DLL with Visual C++ (following the steps in the article) and they worked fine with Visual Basic. You can find the article at: http://www.asia.microsoft.com/msj/defaulttop.asp?page=/msj/0498/inthisissuefeatures0498.htm gl Jonathan Craig

        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