Results 1 to 4 of 4

Thread: dll in vc++ for vb

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Location
    Guayaquil, Guayas, Ecuador
    Posts
    87

    Post

    I would like to know the procedure to make dll in vc++ to be used in vb.

    An example code could help
    Something like a dll that receive a number and return the number plus 5.

  2. #2
    Lively Member
    Join Date
    Dec 1999
    Location
    Karlsruhe, Germany
    Posts
    122

    Post

    You will have to DECLARE the DLL in a code module in your VB project. For examples look in WIN32API.TXT in your VB directory.

    Roger

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Location
    Guayaquil, Guayas, Ecuador
    Posts
    87

    Post

    I know how to use a dll in vb, what i want to know i how to create it in vc++

  4. #4
    New Member
    Join Date
    Feb 2000
    Location
    Belmont, CA, USA
    Posts
    7

    Post

    Hi Antonio, I don't know much about VC++, I use Borland C++, but the general rule for creating a DLL in any language is that you have to make the names of the functions exportable, if you want to call these functions from other applications. Look in MSDN for this topic, namely, exporting symbols, etc. You can use Quick View to see the table of EXPORT/IMPORT functions.

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