To install the White Knight GUI Library:

  1. Unzip the WKGL.zip
  2. Copy WKGL.h and WKGL folder to your include directory
  3. Copy WKGL.lib to your library directory.

Usage

In general you need to do the things to use the White Knight GUI Library.

  1. First you must add WKGL.lib to you link path. In MSVC 6.0:
    1. Create a new empty Win32 Application.
    2. Click Project -> Settings...
    3. Click the Link tab.
    4. In the Object/Library Modules edit box type WKGL.lib at the end.
    5. Click Ok
  2. Create a new C++ source file.
  3. Add #include <WKGL.h> to the file.
  4. Add using namespace wkgl; to the file, or preface each class and function name with wkgl::
  5. Create a WPARAM main() function.
  6. That it!.

To use the Thread and ThreadGroup classes you must add #include <WKGL/ThreadGroup.h> to your source file.

To use the Socket and ServerSocket classes you must add #include <WKGL/ServerSocket.h> to your source file, and add wsock32.lib or its equivelent to your link path. If you do not add wsock32.lib or its equivelent then you will get a whole lot of linking errors.