Click to See Complete Forum and Search --> : API


Joseph Korabel
August 19th, 1999, 02:10 PM
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

Lothar Haensler
August 20th, 1999, 02:29 AM
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 )

Joseph Korabel
August 20th, 1999, 05:59 PM
Thank you very very much.
Joseph K