Missing Storage class error in winbase.h 
Author Message
 Missing Storage class error in winbase.h

Hi,
    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?

Thanks
Burak Cankurtaran



Mon, 28 Jan 2002 03:00:00 GMT  
 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/



Mon, 28 Jan 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. missing storage-class error

2. Missing Storage Class Error

3. missing class storage

4. Error whenever I include <winbase.h>

5. Winbase.h and compilation errors

6. Error whenever I include winbase.h

7. update: wince error with winbase.h

8. #include <winbase.h> gives me syntax errors in winbase.h

9. V6 Class View sometimes has classes missing

10. Class View class missing

11. Classes missing from Class View

12. a class from class view of workspace missing !!

 

 
Powered by phpBB® Forum Software