Using The Dll Components; Development Environment - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

Using the DLL Components

The development environment includes the header files and a VB module for the SWS DLL.
From these files, it is possible to develop definition files for other WIN32 environments (for
example, Delphi and Borland C++). Included with the system is a library file for Microsoft Visual
C++.

Development Environment

The SWS DLL can be used in any WIN32 environment that supports access to external DLL
library files. Examples are provided on the SWS CD-ROM, in the Development directory for
Visual Basic 4.0 and Visual C++ (console application).
The SWS DLL system is currently supported only in a single thread environment and is not
guaranteed to be thread-safe. The SWS DLLs are written to support multiple, single-thread
applications that do not compete for the SWS hardware. Multiple windows are allowed because
they do not execute simultaneously. The SWS DLLs do not support multiple threads in a single
process.
When developing applications using the DLLs, it can be necessary to copy the DLLs to some
other directory, depending on the development platform. The resident directories for different
platforms, where the DLLs must be installed, are shown in Table 18. [Installed Directory] refers
to the root directory, where SWS15100.EXE resides. The default is \Program Files\JDS
Uniphase\SWS15100. [WinSysDir] is the system directory. In Windows 95/98, it is
\Windows\System and in Windows NT, it is \WinNT\System32. [WinDir] is the Windows
directory. In Windows 95/98, it is \Windows and for Windows NT, it is \WinNT.
Programming Guide – 123
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents