National Instruments Window Window User Manual


 
©
National Instruments Corporation 31 LabWindows/CVI Release Notes for Windows
New Error Codes
Table 6 lists new DDE Library error codes.
Multithreading
The DDE Library is now multithread safe when used on Windows 95/NT in a standalone
executable or in a DLL called from a standalone executable. A few restrictions exist, however,
that you must observe. These restrictions stem from limitations of the Windows DDE:
After you call
RegisterDDEServer to register your program as a server, you must
make all subsequent function calls that apply to the server in the same thread in which
you called
RegisterDDEServer.
After you call
ConnectToDDEServer to create a client connection, you must make all
subsequent functions calls that apply to the connection in the same thread in which you
called
ConnectToDDEServer.
Changes to the TCP Library
This section contains information on enhancements to the TCP Library.
Multithreading
The TCP Library is now multithread safe when used on Windows 95/NT in a standalone
executable or in a DLL called from a standalone executable.
New TCP Library Functions
The following seven new functions in the TCP Library are listed in alphabetical order:
GetHostTCPSocketHandle obtains the system socket handle that corresponds to a
TCP Library connection.
GetTCPHostAddr obtains the IP address of the computer on which your program
is running.
–15 –kDDE_GeneralIOErr
–29 –kDDE_Reentrancy
Table 6.
New DDE Library Error Codes
New Code Defined Constant
–13 –kDDE_NotThreadOfServer
–14 –kDDE_NotThreadOfClient
Table 5.
Obsolete DDE Library Error Codes (Continued)
Obsolete Code Defined Constant