Archived

This topic is now archived and is closed to further replies.

devnul

C++ API

Recommended Posts

Guest Anonymous Poster
Include the header file? Add the static library to your project?

What do you want to do? Maybe you''ll get more useful (and better informed) replies if you say.

Share this post


Link to post
Share on other sites
You know how in VB you declare an API such as PtInRect and then you can use it in your program? How do I do that in C++?

Share this post


Link to post
Share on other sites
  
#include <windows.h>


That''ll get you most of the Win32 API functions.
Then you just call the function you want...

I still hate html

I you want to get at an undocumented api call, then you need to use LoadLibrary and hook up to the appro. .dll yourself.


Magmai Kai Holmlor
- The disgruntled & disillusioned

Share this post


Link to post
Share on other sites