home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
WXWIN140.ZIP
/
SRC
/
DUMMYDLL.CC
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-29
|
828b
|
25 lines
/*
* dummydll.cc
*
* A dummy file to include windows.h. If precompiling windows.h, I
* always start by compiling this and producing the PCH file.
* Then subsequent source files use the PCH file.
*
* If precompiling windows.h for wxWindows and derived apps,
* link dummydll.obj with your program (the linker complains otherwise).
*
* This is the only convenient way I found to use precompiled headers
* under MSC 7.
*
* If precompiling wx.h, you won't need to do this. In that case,
* remove the precompilation switches in src/makefile.unx, and add
* appropriate precompilation switches to your app. makefile
* (not forgetting to put a reference to wx.h in ALL sources which need
* wxWindows support).
*
* This will produce a big PCH file since it incorporates windows.h
* and wx.h.
*/
#include <windows.h>