PathEngine home previous: Creating the projectnext: Defining an entry point
Contents, Programmers Guide, Tutorials, A basic application, Setting project options

Setting project options


We need to add the 'interface' directory to the project include search path.
This is done through the 'Preprocessor' category of the 'C/C++' tab of the project settings, and should be applied to all configurations.


We want the dll generated to be placed in the 'bin' subdirectory of the main release directory.


It is a good idea to change the name for the debug version of the dll.
This can save confusion between the different builds when debugging or profiling.
For the example project this has been done by appending a 'd' for the debug build.
This is done through the 'General' category of the 'Link' tab and this change should only be applied to the debug build.


To run the application, VC will need to run the testbed.
The testbed normally looks for 'testapplication.dll', but we can tell it to look for another dll by passing in command line parameters.


The settings for the release build are exactly the same except that the extra 'd' is missing from the name of the dll to load.


Documentation for PathEngine release 5.29 - Copyright © 2002-2012 PathEnginenext: Defining an entry point