240
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
DiscoverCount=0
ServiceTyte=7
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);
*Set to "4" only if my HT is the primary side of the
HT-to-HT communication.