Visual C++ 6.0

1. Set headers and libraries path

Open Tools->Options->Directories dialog tab, add path to HGE "include" directory and move it to the top:

Adding include path

On the same tab select Library files from the Show directories for dropdown list, add path to HGE "lib\vc" directory and move it to the top:

Adding libraries path

Press OK.

Now you can use HGE in your projects without specifying it's exact location. This step is needed only once for all your projects.

2. Create blank Win32 Application project

Open File->New...->Projects dialog tab, select Win32 Application, type in your Project name and Location:

Creating blank project, 1 of 2

Press OK.

On the next screen select An empty project or A simple Win32 application if you want a simple file structure to be created for you:

Creating blank project, 2 of 2

Press Finish. Voila! You have the project created now.

3. Add libraries to the project

Open Project->Settings...->Link dialog tab and add to Object/library modules the following libraries:

  • hge.lib - HGE system layer DLL import library
  • hgehelp.lib - HGE helper classes library

If you don't call any Windows functions, these two are the only libraries required.

Adding import libraries to a project

Then select Win32 Release from the Settings For dropdown list and repeat the operation.

Press OK.

4. Start coding!

Include hge.h to access HGE functions. See Tutorials section for basic code examples.