Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

From BC5, how to call a dll created in BC?

From BC5, how to call a dll created in BC?

From BC5, how to call a dll created in BC?

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

from BC5 IDE, how to call a dll file created in BC.

I have got the .dll, .lib and .h (in C) 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?

RE: From BC5, how to call a dll created in BC?

goto http://www.bytamin-c.com/Articles/dllbpl.htm. This will tell you first of all, how to make a DLL, which apparently you don't need, but down further it shows as well as tells you how to call functions from a DLL. Did you say that you had your Lib, DLL and .h for the DLL in the same folder as the Executable? If not, try it with those 3 things in the folder. I have had the same problem when I had my DLL in an unrelated or different folder, and the problem was solved when I put them with my executable. I haven't tried to set the libraries or locations to where the DLL is located, mainly because I don't have time and I'm lazy. the URL I've listed for you will most likely solve all of your DLL problems, it is very well written and will help alot, I hope. If it doesn't, write me back and I'll help you out.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close