Results 1 to 2 of 2

Thread: .Def file options

  1. #1

    Thread Starter
    Hyperactive Member abhid's Avatar
    Join Date
    Nov 2001
    Location
    3rd rock from the sun
    Posts
    467

    .Def file options

    Hi all,
    Does anybody know about .def file options? I am using .def file to use a dll (created in VC++) in VB.
    Please let me know.
    Thanks in advance.
    Abhid

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    The .def file just gives you the function definitions:
    Code:
    LIBRARY "mylib.dll"
    
    EXPORT
        func
        another
        my_code
    ...or similar. You should be able to just make a Declare statement matching the C prototype.
    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