Installing the WVL

In general terms, you can read the Installation Library Documentation to install the WVL. For the specified Integrated Development Environment(IDE), you can follow the following steps

Dev-C++
1.Setting the wvl include path in the IDE:
    Tools->Compiler Options->Directories->C++ Includes. Add the wvl include folder.

2.Compiling the WVL:
    Open /lib/dev-c++/libwvl.dev with Dev-C++. Click the Excute->Rebuild All. When it is finish, you will get libwvl.a in that directory. Don't move the file!

3.Configuring the IDE:
    In the WVL installation directory, run the ide_config.exe to configure the IDE. After the program started, click "Configuration for Dev-C++" button, and input the Dev-C++ installation directory in the text box, then click "OK".

4.Programming with the WVL:
    If the above steps were done, you could devleop WVL Appliation with Dev-C++. Start Dev-C++ and create a wvl project, File->New->Project...->WVL, click the "Windows Vision Library" to create a WVL Project.

Microsoft Visual C++.NET 2003
1.Setting the wvl include path in the IDE:
    Tools->Options->Projects and Solutions->VC++ Directories->Show directories for->Include files. Add the wvl include folder.

2.Compiling the WVL:
    Open /lib/vc7.1/vc7.1.sln with VS.NET. Click the Excute->Rebuild All. When it is finish, you will get vc7.1.lib in that directory.

3.Programming with the WVL:
   3.1. Create A Win32 Application Project, and make it as an empty project
   3.2. Change property of the project
         C/C++ -> Code Gener -> Runtime Library ->/MTD
   3.3. Link the Lib File
        Linker->General->Addtional Library Directories. Input the directory of the WVL lib file where placed
        Linker->Command Line-> Addiontal Options, input the WVL lib filename you named, and include comctl32.lib

Return to Index