National Instruments 320685D-01 Drums User Manual


 
Chapter 3 Windows 95/NT Compiler/Linker Issues
LabWindows/CVI Programmer Reference Manual 3-8
©
National Instruments Corporation
originally developed under one of these external compilers to LabWindows/CVI, you
might have to manually define one of these macros.
External Compiler Versions Supported
The following versions of each external compiler work with LabWindows/CVI for
Windows 95/NT:
Microsoft Visual C/C++, version 2.2 or higher
Borland C/C++, version 4.51 or higher
Watcom C/C++, version 10.5 or higher
Symantec C/C++, version 7.2 or higher
Required Preprocessor Definitions
When you use an external compiler to compile source code that includes any of the
LabWindows/CVI include files, add the following to your preprocessor definitions:
_NI_mswin32_
Multithreading and the LabWindows/CVI Libraries
Although the LabWindows/CVI environment is not multithreaded, you can use
LabWindows/CVI Libraries in the following multithreaded contexts:
When you call the LabWindows/CVI Libraries from a multithreaded executable you
create in LabWindows/CVI or in an external compiler.
When you call the LabWindows/CVI Libraries from a DLL that a multithreaded
executable loads. You can create the DLL in LabWindows/CVI or in an external
compiler.
When you call the LabWindows/CVI Libraries from an object or static library file that
you dynamically load in a multithreaded executable. You can create the object or library
file in LabWindows/CVI or in an external compiler.
All the LabWindows/CVI libraries are multithreaded safe when used outside of the
LabWindows/CVI development environment.
For detailed information on how to use the LabWindows/CVI User Interface Library in a
multithreaded program, refer to Chapter 3, Programming with the User Interface Library, in
the LabWindows/CVI User Interface Reference Manual.
00ProRef.book : 06chap03.fm Page 8 Monday, March 9, 1998 3:23 PM