SmartWin++ Guide
Microsoft Visual Studio C++ 2005 Express
By combining Microsoft's VS C++ Express with the Win2003Server SDK R2, you can
download a free development environment for SmartWin++ programs. It does not
contain MFC, but that's ok because SmartWin++ is used instead. You need to
setup VS Express according to "Using Visual C++ 2005 Express Edition with the
Microsoft Platform SDK"
By Brian Johnson, Microsoft Corporation.
at http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
Here is a summary, with some Smartwin++ extras:
-
Install Visual C++ Express
Download VS C++ 2005 Express from
http://lab.msdn.microsoft.com/express/visualc/default.aspx
-
Install the Microsoft Platform SDK
The Express web page eventually points you to download the "Windows® Server
2003 R2 Platform SDK Web Install" from
http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en
-
Update the Visual C++ directories to point to the SDK and SmartWin++'s lib and
include. For Tools | Options | Projects and Solutions | VC++ directories |
Include, add these:
C:\program files\Microsoft Platform SDK for Windows Server 2003 R2\Include
C:\program files\Microsoft Platform SDK for Windows Server 2003 R2\Include\MFC
??\smartwin\include
and for the library
C:\program files\Microsoft Platform SDK for Windows Server 2003 R2\lib
??\smartwin\lib
Replace ?? with the path to your SmartWin directories.
The MFC include reference is to find afxres.h in the .rc files.
-
Set the AdditionalDependencies in
C:\Program Files\Microsoft Visual Studio
8\VC\VCProjectDefaults\corewin_express.vsprops
to "kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib"
Microsoft Visual Studio 6
The compiler is too old, and does not support the modern C++ used in
SmartWin++.
Back to SmartWin website