Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Compiler/Linker Issues

LabWindows/CVI 8.5 Help
November 2007

NI Part Number:
370051K-01

»View Product Info
Compiler/Linker Issues



Loading 32-Bit DLLs

DLLs for Instrument Drivers and User Libraries
DLL Path (.pth) Files Not Supported
16-Bit DLLs Not Supported
DllMain
Releasing Resources when a DLL Unloads
Generating an Import Library

Compatibility with External Compilers

Choosing the Compatible Compiler
Object Files, Library Files, and DLL Import Libraries
Compatibility Issues in DLLs

Structure Packing
Structure Packing Pragma
Bit Fields
Returning Floats and Doubles
Returning Structures
Enum Sizes
Long Doubles

Differences between LabWindows/CVI and External Compilers
External Compiler Versions Supported
Required Preprocessor Definitions

Multithreading and LabWindows/CVI Libraries
Using LabWindows/CVI Libraries in External Compilers

Include Files for the ANSI C Library and LabWindows/CVI Libraries
Standard Input/Output Window
Building a Project in an External Compiler

External Compiler Support Dialog Box
Resolving Callback References from .uir Files

Resolving Callback References from .uir Files

Linking to Callback Functions

Calling InitCVIRTE and CloseCVIRTE

Using Object and Library Files in External Compilers

Default Library Directives

Microsoft Visual C/C++
Borland C/C++ and C++ Builder

Borland Static versus Dynamic C Libraries
Borland C/C++ Incremental Linker

Creating Object and Library Files in External Compilers for Use in LabWindows/CVI

Microsoft Visual C/C++ Defaults
Borland C/C++ and C++ Builder Defaults

Creating Executables in LabWindows/CVI
Creating DLLs in LabWindows/CVI

Customizing an Import Library
Preparing Source Code for Use in a DLL

Calling Convention for Exported Functions
Exporting DLL Functions and Variables
Using the Include File Method
Using the Export Qualifier Method
Using Both the Include File and Export Qualifier Methods
Marking Imported Symbols in an Include File Distributed with a DLL
Recommendations for Creating a DLL

Automatic Inclusion of a Type Library Resource for Visual Basic

Creating Static Libraries in LabWindows/CVI
Creating Object Files in LabWindows/CVI
Calling Windows SDK Functions in LabWindows/CVI

Windows SDK Include Files
Using Windows SDK Functions for User Interface Capabilities
Automatic Loading of SDK Import Libraries

Setting Up Include Paths for LabWindows/CVI, ANSI C, and SDK Libraries

Compiling in LabWindows/CVI for Linking in LabWindows/CVI
Compiling in LabWindows/CVI for Linking in an External Compiler
Compiling in an External Compiler for Linking in an External Compiler
Compiling in an External Compiler for Linking in LabWindows/CVI

Handling Hardware Interrupts


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit