￿Setup values of WIN.INI file

Set up the IrDA section of the WIN.INI as follows;

[IrDA.COM2]

 

 

IrDA=ON

 

 

MaxBaudRate=115200

*To be set according to the communication speed employed.

SizeWindow=1

 

 

SizeData=2048

 

 

DisconnectThresholdTime=3

 

MaxTurnAroundTime=500

 

 

MinTurnAroundTime=5000

 

NumBOF=0

 

 

DeviceNickName=devicenickname

* Can be an optional character string.

DeviceName=devicename

*Set to "4" only if my HT is the primary side of the

DiscoverCount=0

ServiceTyte=7

 

HT-to-HT communication.

Interface to DLL

Copy FLINK.DLL to the Windows system directory or to a directory where the application is ￿located.

void InitFlink(HWND hWndParent, HINSTANCE hInst)

This initializes FLINK.DLL. Be sure to call it before using the DoFlink() or DoFLinkForVB() function.

SYMTAX

void InitFlink(HWND hWndParent, HINSTANCE hInst)

INPUT

hWndParent = Window handle of the call source side hInst = Instance of the call source side

OUTPUT

None

VxD not registered yet

Example

/* Code in C++ */

InitFLink(hWnd, hInst);

240

Page 240
Image 240
Casio IT-2000W Interface to DLL, Setup values of WIN.INI file, Void InitFlinkHWND hWndParent, Hinstance hInst, Symtax