Results 1 to 2 of 2

Thread: incorporating VB in VC++ DLL?

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Posts
    1

    Question

    I'm wondering whether or not one can call VB code from VC++. (I'm using MS Visual 6.0 in both cases.) I've seen postings going the other direction, but no references to using VB from inside of VC++.
    Before you ask, I've got a lot of code already written in VB and found out that the application I'm supposed to be interfacing to uses VC++ DLLs only.
    My first guess as to what to do is to create VB DLLs, incorporate those into the VC++ DLLs and pass the whole lot to the calling application.

    Am I in left field?

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I think you've got a good idea here. How about using VB DLLs as you said, and make a C++ DLL that uses COM to call the VB DLLs, with an API supplied to wrap the code?
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width