CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: API

  1. #1
    Join Date
    Aug 1999
    Posts
    3

    API

    I have "C" callable library of functions that allow custom applications to interface with the Fax Server.
    I desperately need to know what to do to be able to use that functions in the VB(5,6) environment the same way as we use Windows API for VB.
    Thanks in advance,
    Joseph K


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: API

    you need to create Declare statements for each of your callable functions such as:

    Declare function foo Lib "yourdll" (byval YourArgument as integer ) as integer



    then, in VB you just write

    dim lResult as integer
    lResult = foo( iArg )






  3. #3
    Join Date
    Aug 1999
    Posts
    3

    Re: API

    Thank you very very much.
    Joseph K



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

Featured