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

Calling functions from C DLL

Status
Not open for further replies.

rpk2006

Technical User
Apr 24, 2002
225
IN
I have C dll of crypto functions. But I don't know how to include it in my C program can call its functions.

Any idea?




---------------------------------
Securing a computer system has traditionally been a battle of wits: the penetrator tries to find the holes, and the designer tries to close them. � M.Gosser
 
What compiler are you using? You'll probably want to ask this in the forum specific to your compiler.
 
TC++/VC++

---------------------------------
Securing a computer system has traditionally been a battle of wits: the penetrator tries to find the holes, and the designer tries to close them. � M.Gosser
 
I answered a similar query in another thread. You could use LoadLibrary, but it is harder to use functions this way. I suggest using _cdecl(dllimport) to import the functions.
See the other thread link below:
thread713-744050

Don't hate the player - hate the game
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top