C++ DLL in visual basic 6 project

Discussion in 'SolidWorks' started by Sean Phillips, Nov 13, 2003.

  1. i have a DLL with api built into it. this DLL was made in visual C++.
    id like to use it in my visual basic 6 project. when i try to add it
    as a reference its says. "Can't add reference to the specified file."
    does anyone know what i can do.

    thanks.

    Sean Phillips.
     
    Sean Phillips, Nov 13, 2003
    #1
  2. Try the Group

    comp.lang.basic.visual.misc

    I am sure someone there knows how to make a custom C++ app referencable in
    VB

    Corey
     
    Corey Scheich, Nov 13, 2003
    #2
  3. actually you have to declare every single function/procedure you want
    to use in the initial part of any vb source file --.mdb or .frm--. it
    is not enough to add a reference to a .dll: it would be ok only for
    some particular dlls.
    ask some vb newsgroup for details.

    regards.
     
    Gianni Rondinini, Nov 14, 2003
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.