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

Call dll functions 1

Status
Not open for further replies.

Nordlund

Programmer
Jul 17, 2001
458
SE
Hi there.

I want to import dll functions into my application, but the .dll file containing the function are not yet copied to the client machine.

The problem is that if I import the function and then try to runt my app, I get a errormessage telling me the .dll file is missing.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is always another way to solve it, but I prefer my way.
 
you must use the loadlibrary and GetProcAddress functions at runtime. you may not have a static reference of the functions towards the dll.

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Thanks...
It solved my problems...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is always another way to solve it, but I prefer my way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top