C Definition vs. VB Definition

C Definition vs. VB Definition

Declare Function HexToLong Lib “FIRSTONE.DLL”

(ByVal InString As String) As Long

long FAR PASCAL _export HexToLong (char *Hex)

C:

VB:

Function Name Must Be The Same in Both Declarations.

The Lib keyword Must Give The Name of the Library.

Argument Name in VB is arbitrary.

Previous slide Next slide Back to the first slide View Graphic Version