Is it error? why
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
#include // error main() { ::LoadLibrary("dll.dll"); typedef void(WINAPI *fun)(); } #include // work main() { ::LoadLibrary("dll.dll"); typedef void(WINAPI *fun)(); }
Do not include winbase.h directly in your code. Include windows.h which indirectly includes winbase.h. Windows.h declares a bunch of stuff that winbase.h needs.
You may be right I may be crazy -- Billy Joel -- Within you lies the power for good - Use it!