X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..5938a184a568873b48c1e59bf5c4ed5a9528d7f4:/docs/tech/tn0010.htm diff --git a/docs/tech/tn0010.htm b/docs/tech/tn0010.htm index f5051266bd..ec13fa0440 100644 --- a/docs/tech/tn0010.htm +++ b/docs/tech/tn0010.htm @@ -1,7 +1,7 @@ -Compiling wxWindows applications in the VC++ IDE +Compiling wxWidgets applications in the VC++ IDE @@ -15,7 +15,7 @@ -Compiling wxWindows applications in the VC++ IDE +Compiling wxWidgets applications in the VC++ IDE @@ -24,12 +24,12 @@ Compiling wxWindows applications in the VC++ IDE

-Settings for wxWindows 2 / Settings for wxWindows 1.68 +Settings for wxWidgets 2.2 / Settings for wxWidgets 1.68

-To compile wxWindows samples and applications using the VC++ 5.0 or 6.0 IDE (having compiled wxWindows +To compile wxWidgets samples and applications using the VC++ 5.0 or 6.0 IDE (having compiled wxWidgets using the makefile or project file provided), the following steps and settings should be used.

@@ -38,15 +38,16 @@ steps and settings should be used.

  1. Create a new WIN32 Application project.
  2. Add the .cpp and .rc files for your project. -
  3. Apply the settings listed below to the project, replacing c:\wx2 with your wxWindows +
  4. Apply the settings listed below to the project, replacing c:\wx2 with your wxWidgets installation path.

-

Settings for wxWindows 2

+

Settings for wxWidgets 2.2

-These settings apply to wxWindows 2.1.14 and above.

+These settings apply to wxWidgets 2.1.14 and above but most of them are not +necessary any longer for wxWidgets 2.3+.

General
@@ -62,20 +63,20 @@ The Preprocessor definitions field should contain the following symbols f
 WIN32,_DEBUG,_WINDOWS,__WINDOWS__,__WXMSW__,__WXDEBUG__,WXDEBUG=1,
-__WIN95__,__WIN32__,WINVER=0x0400,STRICT
+__WIN32__,WINVER=0x0400,STRICT
 

and these for Release:

-NDEBUG,WIN32,_WINDOWS,__WINDOWS__,__WXMSW__,__WIN95__,__WIN32__,
+NDEBUG,WIN32,_WINDOWS,__WINDOWS__,__WXMSW__,__WIN32__,
 WINVER=0x0400,STRICT

The Additional include directories field should contain the following:

 c:\wx2\include,c:\wx2\contrib\include
 
-

(and of couse any other directories you wish to use in your project).

+

(and of course any other directories you wish to use in your project).

C/C++: Precompiled Headers
@@ -94,7 +95,7 @@ The Object/library modules field should contain:
 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
 ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib
-winmm.lib wxd.lib xpmd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib
+winmm.lib wxmsw25d.lib wxbase25d.lib wxpngd.lib wxzlibd.lib wxjpegd.lib wxtiffd.lib
 
for the Debug configuration and @@ -102,7 +103,7 @@ for the Debug configuration and
 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
 ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib
-winmm.lib wx.lib xpm.lib png.lib zlib.lib jpeg.lib tiff.lib
+winmm.lib wxmsw25.lib wxbase25.lib wxpng.lib wxzlib.lib wxjpeg.lib wxtiff.lib
 
for the Release configuration.

@@ -143,7 +144,7 @@ c:\wx2\include;c:\wx2\contrib\include


-

Settings for wxWindows 1.68

+

Settings for wxWidgets 1.68

Note: these have not yet been checked.

@@ -159,24 +160,24 @@ and executable to be created in the project directory and not a subdirectory.

C/C++: Preprocessor
The Preprocessor definitions field should contain the following symbols:

-WIN32,_DEBUG,_WINDOWS,wx_msw,DEBUG=1,WIN95=1,WINVER=0x0400,STRICT
+WIN32,_DEBUG,_WINDOWS,wx_msw,DEBUG=1,WINVER=0x0400,STRICT
 

The Additional include directories field should contain the following:

 ../../include/base,../../include/msw
 
-

(and of couse any other directories you wish to use in your project).

+

(and of course any other directories you wish to use in your project).

C/C++: Precompiled Headers
The Not using precompiled headers or Automatic use of precompiled headers -button should be selected (I can't find a way of using the wxWindows PCH file).

+button should be selected (I can't find a way of using the wxWidgets PCH file).

C/C++: Code Generation
The Use run-time library control should be set to Multithreaded DLL. This -sets the compiler switch to /MD to match the wxWindows makefile.

+sets the compiler switch to /MD to match the wxWidgets makefile.

Link: Input
@@ -206,77 +207,6 @@ Select your .rc file. The Additional resource include directories field s
-

- - - - -