4-3

DLL Functions
ExecIt3c()Description

Uploads (receives) or downloads (sends) the designated file.

Syntax
For VC++4.0
typedef enum errorcod e {
Er_NOERROR = 0, /* Commun ication ended normally. */
Er_NOFILE = 1, /* Designated file not found. */
:
:
} Er;
Er ExecIt3c(HWND hWnd, char *Param, char *TransferFileName);
For VB4.0
Declare Function Ex ec It3 c L ib It3cw32d.dll (ByVal hWnd As Long,
ByVal Param As String, ByVal TransferFileName As String) As Long

where:

hWnd =Sets the window handle that calls the DLL. If you are using
VB4.0, to call ExecIt3c() from the form, write
Me.hWnd to display the dialogs and get the timer value.
Param = Sets the character string of the command switch for
customizing the file transfer. This character string contains
one file name and command switches separated by space
codes.
(Example) c:\tmp\ch eck.pd3 +P1 +B19200
For details about file names, refer to Directory Path Names
and File Names on page 2-7. For command switches, refer
to Options on page 2-7.
TransferFileName = Character string specifying the directory path name and file
name of the transferre d file in sending or re ceiving.
Sufficient length is required.
If you are using VB4.0, use the String variable such as
String(255. ) to reserve the memo ry area.