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:
- In Visual Studio, add these #include directives to the project’s source code:
- Open the Property Pages for the project.
- Set Configuration to All Configurations and set Platform to All Platforms, and then do the following:
#include <windows.h>
#include <RtfwAPI.h>
- Under C/C++ > General > Additional Include Directories, add:
$(RTX64SDKDIR4)include
- Under Linker > Input, add:
RtfwAPI.lib
- Set Platform to x64, and then do the following:
- Under Linker > General > Additional Library Directories, add:
$(RTX64SDKDIR4)lib\amd64
- Set Platform to x32, and then do the following:
- Under Linker > General > Additional Library Directories, add:
$(RTX64SDKDIR4)lib\x86
- Click OK, and then rebuild the project.
Related Topics:
- RTX64 Native Framework Reference
- Upgrading RTX64 Projects
- Supported Visual Studio Versions
- Supported .NET Versions
- Setting up Visual Studio for RTX64 Templates
- Using the RTX64 Application Template
- Using the RTX64 RTDLL Template
- Compiler and Linker Options
- Using RTX64 Code Snippets in Visual Studio
- Building a 32-bit User Space Application
- Visual Studio C Runtime Support
- Creating a Managed Code Application