Symbol Technologies PDT 1100 Barcode Reader User Manual


 
4-3
DLL Functions
ExecIt3c()
Description
Uploads (receives) or downloads (sends) the designated file.
Syntax
For VC++4.0
typedef enum errorcode {
Er_NOERROR = 0, /* Communication ended normally. */
Er_NOFILE = 1, /* Designated file not found. */
:
:
} Er;
Er ExecIt3c(HWND hWnd, char *Param, char *TransferFileName);
For VB4.0
Declare Function ExecIt3c Lib 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\check.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 transferred file in sending or receiving.
Sufficient length is required.
If you are using VB4.0, use the String variable such as
String(255. ) to reserve the memory area.