How to use APIs in Managed Library...

J

Jigar Mehta

Hye all,
I am making a VC# project in which I am using managed c++. So, made my
class structure, now I need to use windows APIs in the code so, what to
include for doing that... Is there any file that needs to be included or is
there any namespace that is to be included???

Please help me out, I am stuck here.. even, HWND sturctures objects are
illegal presently...
 
R

Ronald Laeremans [MSFT]

#include <windows.h>

Just the same as it has always been. At least assuming your mention of "VC#"
was a typo and you meant "Visual C++"

Ronald Laeremans
Visual C++ team
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top