|
Welcome to Software Laboratory of Antillia.com. Future Windows Programming |
|||||||||||||||
|
Home
Support
|
1 What is SOL9? 1.1 SOL9 SOL9 is one of the simplest C++ class libraries for Windows 7, Vista, XP and Windows Server 2003/2008. It is based on author's previous version SOL++2000. In SOL9, a set of C++ class header files and static library compiled on Microsoft Visual Studio 2008 are provided. And a lot of sample programs are included. One of the striking features of SOL9 is the simplicity of handling of Windows events. Historically, the author started to develop the original SOL++ library about ten years ago. And now here is a new version of SOL9 for Windows 7, Vista and XP on Visual Studio 2008. The SOL9 library is based on the previous SOL++2000. For original SOL++ library, see author's book(Windows95 Super class library, SOFTBANK Japan:ISBN4-7973-0018-3). The hierarchy of SOL9 is quite similar to that of SOL++2000. But We have introduced a namespace 'SOL' to avoid collision of some class names in Windows API. But the basic implementation of SOL9 is same with old SOL++2000. 1.2 SOL9 2.0 (NEW: 8 Nov 2009) SOL9 C++ Class Library 2.0 (SOL9 2.0) is an upgrade version of the previous SOL9 Library. Note: 1. SOL9 2.0 supports multiple charsets of ASCII and UNICODE. 2. SOL9 2.0 classes have been implemented on C++ header files only using inline member functions. 3, SOL9 2.0 applications never need a SOL9 specific static library. 4. SOL9 2.0 classes have been developed based on the previous SOL9 Asciicode and Unicode version. 1.3 SOL9 2.0 History 2 Download SOL9 2.0 Library SOL9 C++ Class Library for Windows and sample programs are now available. This is a free C++ class library for all Windows programmers. Updated: 24 Dec 2009 This contains a set of C++ class header files and a lot of sample programs of SOL9 2.0. The sample programs are based on the previous samples for SOL9 Asciicode and Unicode version. 3 How to install the SOL9 You can get a zip file sol9.2.0.zip by downloading, so you simply unzipp it by WinZip program. For example, by unzipping on the root directory on C drive, you get the two directories: C:\so9.2.0\usr\include\sol - includes all C++ header files for SOL9 2.0 C:\sol9.2.0\usr\src\ - includes all sample program files for SOL9 2.0, 4 How to create a new project. When you create a new project and compile the program on SOL9 in Microsoft Visual Studio(VS) environment, please note the following rules. 4.1 You have to specifiy [Multithreaded] runtime library in C/C++ Code generation pane. (1) Select [Project] item in the menubar of VS. (2) Select [Setting] item in the pulldown menu dispayed by (1). (3) Select [C/C++] tab in the rightside pane of the dialogbox displayed by (2) (4) Select [Code generation] item in the combobox for [Category] item in the pane displayed by (3). (5) Select [Multithreaded] item in the combobox for [Runtime Library] item in the pane displayed by (4). 4.2 You have to set correct paths for include files and a library file of SOL9. (1) Select [Tool] item in the menubar of VS. (2) Select [Option] item in the pulldown menu displayed by (1) (3) Select [Directory] pane the dialogbox displayed by (2). (4) Add the path for SOL9 include files in th listbox displayed by selecting [include files] item in the combobox of [Directories]. Maybe you add a line something like this. c:\usr\include 4.3 You have to specifiy the libraries Please specify the following libraries: [comctl32.lib ws2_32.lib iphlpapi.lib version.lib crypt32.lib cryptui.lib wintrust.lib pdh.lib shlwapi.lib psapi.lib]. (1) Select [Project] item in the menubar of VS. (2) Select [Setting] item in the pulldown menu dispayed by (1). (3) Select [Link] tab in the rightside pane of the dialogbox displayed by (2). (4) Select [General] item in the combobox for [Category] item in the pane displayed by (3). (5) Insert the libraies [comctl32.lib ws2_32.lib iphlpapi.lib version.lib crypt32.lib cryptui.lib wintrust.lib pdh.lib shlwapi.lib psapi.lib] into the text field of name [Object/Libray/Module]. Please don't forget to write Main (not main) function in your program, because it is a program entry point of SOL9. Last modified: 24 Dec 2009 |
|||||||||||||||