Using the RTX64 Native Framework Library in a C/C++ Project

The RTX64 Native Framework (RtfwAPI.DLL) is a native DLL that allows C/C++ applications to configure and control the RTX64 Subsystem programmatically. This interface provides similar functionality as the Managed Code Framework.

In order to use the Native Framework in a C/C++ project, you must first perform a few modifications to the project settings. This topic lists the necessary modifications.

To use the Native Framework in a C/C++ project:

  1. In Visual Studio, add these #include directives to the project’s source code:
  2. #include <windows.h>

    #include <RtfwAPI.h>

  3. Open the Property Pages for the project.
  4. Set Configuration to All Configurations and set Platform to All Platforms, and then do the following:

$(RTX64SDKDIR4)include

RtfwAPI.lib

  1. Set Platform to x64, and then do the following:

$(RTX64SDKDIR4)lib\amd64

  1. Set Platform to x32, and then do the following:

$(RTX64SDKDIR4)lib\x86

  1. Click OK, and then rebuild the project.

Related Topics: