©
National Instruments Corporation v LabWindows/CVI Programmer Reference Manual
Contents
About This Manual
Organization of This Manual...........................................................................................xiii
Conventions Used in This Manual...................................................................................xiv
Related Documentation .....................................................................................xv
Customer Communication.................................................................................xvi
Chapter 1
LabWindows/CVI Compiler
Overview..........................................................................................................................1-1
LabWindows/CVI Compiler Specifics ............................................................................1-1
Compiler Limits.................................................................................................1-1
Compiler Options ..............................................................................................1-2
Compiler Defines...............................................................................................1-2
C Language Non-Conformance .......................................................................................1-2
C Language Extensions ...................................................................................................1-2
Keywords That Are Not ANSI C Standard .......................................................1-2
Calling Conventions (Windows 95/NT Only)...................................................1-2
Import and Export Qualifiers.............................................................................1-3
C++ Comment Markers.....................................................................................1-4
Duplicate Typedefs............................................................................................1-4
Structure Packing Pragma (Windows 3.1 and Windows 95/NT Only).............1-4
Program Entry Points (Windows 95/NT Only).................................................1-5
C Library Issues...............................................................................................................1-5
Using the Low-Level I/O Functions..................................................................1-5
C Data Types and 32-Bit Compiler Issues.......................................................................1-6
Data Types.........................................................................................................1-6
Converting 16-Bit Source Code to 32-Bit Source Code ...................................1-6
Debugging Levels ............................................................................................................1-8
User Protection ................................................................................................................1-8
Array Indexing and Pointer Protection Errors...................................................1-8
Pointer Arithmetic (Non-Fatal)...........................................................1-8
Pointer Assignment (Non-Fatal) .........................................................1-9
Pointer Dereference Errors (Fatal)......................................................1-9
Pointer Comparison (Non-Fatal).........................................................1-10
Pointer Subtraction (Non-Fatal)..........................................................1-10
Pointer Casting (Non-Fatal)................................................................1-10
Dynamic Memory Protection Errors .................................................................1-11
Memory Deallocation (Non-Fatal)......................................................1-11
Memory Corruption (Fatal).................................................................1-11
00ProRef.book : 00ProRefTOC.fm Page v Monday, March 9, 1998 3:23 PM