
86
Chapter 2
Programming Fundamentals
C Programming Examples using VTL
Compiling and Linking a VTL Program
32-bit Applications
The following is a summary of important compiler-specific
considerations for several C/C++ compiler products when developing
WIN32 applications.
For Microsoft Visual C++ version 2.0 compilers:
• Select
Project | Update All Dependencies
from the menu.
• Select
Project | Settings
from the menu. Click on the
C/C++
button. Select
Code Generation
from the
Use Run-Time
Libraries
list box. VTL requires these definitions for WIN32. Click
on
OK
to close the dialog boxes.
• Select
Project | Settings
from the menu. Click on the
Link
button and add
visa32.lib
to the
Object / Library Modules
list box. Optionally, you may add the library directly to your project
file. Click on
OK
to close the dialog boxes.
• You may wish to add the include file and library file search paths.
They are set by doing the following:
1. Select
Tools | Options
from the menu.
2. Click on the
Directories
button to set the include file path.
3. Select
Include Files
from the
Show Directories For
list
box.
4. Click on the
Add
button and type in the following:
C:\VXIPNP\WIN95\INCLUDE
5. Select
Library Files
from the
Show Directories For
list
box.
6. Click on the
Add
button and type in the following:
C:\VXIPNP\WIN95\LIB\MSC
For Borland C++ version 4.0 compilers:
• You may wish to add the include file and library file search paths.
They are set under the
Options | Project
menu selection. Double
click on
Directories
from the
Topics
list box and add the
following:
C:\VXIPNP\WIN95\INCLUDE
C:\VXIPNP\WIN95\LIB\BC
Summary of Contents for E4406A VSA Series
Page 4: ...4 ...
Page 59: ...59 2 Programming Fundamentals ...
Page 124: ...124 Chapter2 Programming Fundamentals Using the LAN to Control the Analyzer ...
Page 125: ...125 3 Programming Examples ...
Page 164: ...164 Chapter3 Programming Examples Using Java Programming Over Socket LAN ...
Page 165: ...165 4 Programming Command Cross References ...
Page 379: ...379 6 Error Messages ...
Page 412: ...412 Chapter6 Error Messages Error Message Descriptions ...