How woudl I declare Winbase.h?
How woudl I declare Winbase.h?
rrr hold on, it says....
Header: Declared in Winbase.h; include Windows.h.
Library: Use Advapi32.lib.
so what woudl I do and how do I know and pick wich lib to use?
winbase.h is already declared in windows.h, so there is no need to include it. Advapi32.lib is a library that you need to link to in order to call whatever function you are trying to call. How you would link to that library depends on what compiler you are using.
I am using dev-cpp if you can answer now.
#pragma comment (lib, "filename.lib")
That's how I do it!
Last edited by Tynnhammar; 10-23-2004 at 02:41 AM.