<< Back

Compiling, Linking, and Debugging

The following information is geared toward C++ programmers using Microsoft Visual C++, however the concepts can be applied to other development environments as well.

Compiling

Build your application as you would normally. Change your source code to include FVSDK_Funcs.h in source files where you intend to use the FTP Voyager SDK. FVSDK_Funcs.h includes all other necessary include files. To ensure that your compiler can find these include files, set your include path to C:\Program Files\RhinoSoft.com\FVSDK\Inc or to whatever directory you used for the FTP Voyager SDK installation.

Linking

After successfully compiling your source files, perform the link to the FTP Voyager SDK by linking to C:\Program Files\RhinoSoft.com\FVSDK\Lib\FVSDK.lib. This step isn't necessary if you want to use the FVSDK.dll dynamically. In that case, use the normal LoadLibrary(), GetProcAddress(), and FreeLibrary() Windows functions.

Debugging

Since the FTP Voyager SDK is implemented using a DLL (FVSDK.dll), you must either have your PATH environment variable set to include C:\Program Files\RhinoSoft.com\FVSDK\Redist or you must set your working directory to C:\Program Files\RhinoSoft.com\FVSDK\Redist prior to starting your application.