
Missing Storage class error in winbase.h
Burak,
Quote:
> I have written a console app using VC6.
> I now need to load in a DLL explicitly. So I'm using the LoadLibrary and
> FreeLibrary fns
> I include winbase.h but I get a lot errors. Mainly 'Missing storage
> specifier' errors (eg DWORD)
> Im using the single threaded model.
> What else do I need to include for this to work?
You shouldn't include winbase.h directly. Instead, include windows.h, and
winbase.h will be automatically included, with all necessary headers for the
definitions it needs.
--
Tomas Restrepo
http://members.xoom.com/trestrep/