National Instruments 320685D-01 Drums User Manual


 
Chapter 7 Creating and Distributing Standalone Executables and DLLs
©
National Instruments Corporation 7-9 LabWindows/CVI Programmer Reference Manual
Windows 95/NT, the Run-time Engine consists of multiple files, including three DLLs
and the low-level support driver. Under Windows 3.1, the Run-time Engine is an
execute-only version of the LabWindows/CVI environment. Under Sun Solaris, the
Run-time Engine is a shared library
UIR files—The User Interface Resource files that your application program uses. Use
LoadPanel and LoadMenuBar to load these files.
Image files—The graphical image files that you programmatically load and display on
your user interface using
DisplayImageFile.
State files—The user interface panel state files that you save using
SavePanelState
and load using
RecallPanelState.
DLL files—(Windows Only) the Windows Dynamic Link Library files that your
application program uses.
PTH files—(Windows 3.1 Only) specify the location of DLL files when you want to
load the DLL from a special directory, or indicate that you want to find a DLL using
the standard Windows DLL search algorithm.
External .lib or .a files—Compiled 32-bit
.lib files on the PC or .a files under UNIX
that you load using
LoadExternalModule and that you have not listed in the project.
External .obj or .o files—Compiled 32-bit
.obj files on the PC or .o files under UNIX
that you load using
LoadExternalModule and that you have not listed in the project.
Other files—Files your executable opens using
open, fopen, OpenFile, and so on.
Necessary Files for Using DLLs Created
in Windows 95/NT
Under Windows 95/NT, you can distribute DLLs that use the LabWindows/CVI Run-time
Engine. As in the case of standalone executables, you must distribute them along with the
LabWindows/CVI Run-time Engine.
Location of Files on the Target Machine for Running
Executables and DLLs
To assure proper execution, it is critical that all files associated with your executable program
are in the proper directories on the target machine. On the PC, you specify these files in a
relative directory structure in the dialog box that appears when you select Create
Distribution Kit from the Build menu of the Project window in LabWindows/CVI. Refer to
the LabWindows/CVI User Manual for details. This section describes the proper location of
each of the files shown in Figure 7-1.
00ProRef.book : 06chap07.fm Page 9 Monday, March 9, 1998 3:23 PM