Creating an Application with Microsoft Visual C++ 6.0
- Updated2025-10-20
- 1 minute(s) read
- Open an existing or new Visual C/C++ project to manage your application code.
- Create source code files of type .c (C) or .cpp (C++).
- Add the source code files to the project.
-
Add the following code in the source code files:
#include "niRFSG.h"
-
Add the NI-RFSG include and library files to the
project.
Note In the following steps, IVIROOTDIR32 and VXIPNPPATH are aliases to specific National Instruments file folder locations. Refer to the NI-RFSG Readme for more information about installed file locations.
-
Select Project»Settings»C/C++»Preprocessor»Additional include
directories, and add the paths to the following files, separated by a
semicolon:
- IVIROOTDIR32\Include\niRFSG.h
- VXIPNPPATH\WinNT\Visa\include\visa.h
- Select and add niRFSG.lib.
-
Select and add the following path:
- 32-bit systems: IVIROOTDIR32\Lib\msc\niRFSG.lib
- 64-bit systems: IVIROOTDIR32\Lib x64\msc\niRFSG.lib
-
Select Project»Settings»C/C++»Preprocessor»Additional include
directories, and add the paths to the following files, separated by a
semicolon:
- Build your application using the appropriate programming flow steps.