Casio IT-2000W User Manual

Page 241

Advertising
background image

241

 int DoFlink(int argc, char** argv)

This executes the FLINK protocol and various processes.

SYMTAX

int DoFlink(int argc, char** argv)

INPUT

argc = Number of input parameters

argv = Pointer to the parameter array

OUTPUT:

0 Normal termination

Example

This is an example of transmitting the "C:

testtemp.c" file of my HT so that it

overwrites the "C:

check" directory on the partner side using the DoFlink

function.

/* Code in C++ */

int argc+4;

char* argv[4] = { "fl", "/so", "c:



test



temp.c", "c:



check



" }

result = DoFlink (argc, argv);

 short DoFLinkForVB(short iArgc, HAD sArgv)

The DoFLink function can be called from either C language or Visual BASIC Version 4 or later .

If Visual BASIC Version 3 is the application development language, use this function instead of

the DoFLink function. Since DLL is usually developed in C, it cannot read the Visual BASIC

data. With Visual BASIC Ver.4.0 or later DLL is automatically converted to a readable form,

however, this function is not implemented in Visual BASIC Ver.3 or earlier. This library (DLL)

provides a solution for using the dedicated Visual BASIC function. This function can of course

also be called from Visual BASIC Ver.4.0 or later.

SYNTAX

short DoFLinkForVB(short iArgc, HAD sArgv)

INPUT

iArgc = Number of input parameters

sArgv = Pointer to the parameter array

OUTPUT

0 = Normal termination

Advertising