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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

From BC5 IDE, how to call a dll?

Status
Not open for further replies.

ddddd

Programmer
Jan 10, 2002
11
0
0
US
Hi experts,

I hope this is the correct place to ask a problem in BC5.

from BC5 IDE, how to call a dll file.

I have got the .dll, .lib and .h in a folder and have set the libraries and includes to that folder....but when I run my main(), BC5 cannot find the functions in the .dll.

Can you help?
 
You need the DLL and the Library in the same folder as the project. I had the same problem eralier. For reference in calling a DLL goto:

This will explain some DLL fundamentals, but you do need the DLL and Library in the same folder, otherwise it just doesn't work. One more thing you could try is adding the DLL and lib in the project manager, or adding it to the project. I haven't tried that theory yet, so I can't guarentee it will work, but it's a thought...

Hope that helped, Cyprus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top