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.
  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. Thats 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 to your link path, i.e. where you put wkgl.lib. If you do not add wsock32.lib then you will get a whole lot of weird linking errors.