Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing .LIB API

Status
Not open for further replies.

thievery

Programmer
May 27, 2003
2
US
I've been given an API (a C++ .h and .lib) file by a client to access from my Visual Basic 6 App. How do I do this? I know how to Declare Functions from a DLL in VB6, but can you do the same with a .LIB file?

Thanks.
 
Nope, don't think so. They are used to link to C targets.

Greetings,
Rick
 
the .h and the .lib files should provide you with C/C++ declarations that you can translate into VB declarations so that you can use the DLL that the .h and .lib are used in. They did give you a DLL, didn't they...
 
no .dll provided -- just (in addition to the .h and .lib) a .bin file. will this work?

i should've taken that c++ class back in college... :(
 
>>no .dll provided


Then you've got a problem.....

Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top