set WXWIN=c:\wxWindows-2.4.2(You may need to adjust the directory of vcvars32.bat if you did not choose the default location for Visual Studio.)
"c:\Program Files\Microsoft Visual Studio .NET 2003\vc7\bin\vcvars32.bat"
c:
cd \wxWindows-2.4.2\src\msw
nmake -f makefile.vc
C:\wxWindows-2.4.2\include;C:\wxWindows-2.4.2\lib\mswd(two paths, separated by a semicolon)
C:\wxWindows-2.4.2\lib
wxmswd.lib wsock32.lib comctl32.lib rpcrt4.lib
(four libraries, separated by spaces)