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

how to call windows API functions from C program?

Status
Not open for further replies.

prajakta

MIS
Feb 17, 2001
7
0
0
IN
the windows API functions contained in DLL
files can be called from visual basic. can
they also be called from C program? how?
please tell me about it.
 
You have to simply include the apropriate header file and call the function.
I think #include<windows.h> would help for most of the commonly used functions.
 
Yes, and during linking you shouls add <name>.lib exported library for your <name>.dll in command line to resolve this function calls.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top