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

API Calls in C++

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i'm not very good in C/C++, so i hope someone could lighten me on this one: "how do you call API methods in C++? is it by the use of the #include keyword? if it is, then what is the parameter? is it the library name like ADVAPI32.DLL or something else?"
 
I assume that you are coding in a win32 environment. There are many very useful win32 API calls that range from creating a bare bones window to changing the text color in a console application. You will be able to use most of the windows API by -> #include <windows.h>. If you are using VC++ 6.0, after you have typed the function identifier, the parameters will pop up. You then just fill in the actual arguments. Go to google.com and do a search for win32 API calls. There are just so many.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top