VB and FL_CODEC
Hi
I'm going to use the VB Code of the FLCodec File.
I wrote an Programm in C++ to create a textfile of a *.fl file. But now I'm going to try this in VB for using in a new program.
The decleration of this dll is :
Public Declare Function flcodec Lib "c:\windows\system32\flcodec.dll" (ByVal nType As Long, ByVal szSource As String, ByVal szDest As String) As Long
a) if i declare this function as public the program returned an error because to declare a function in the main-decleration is not allowed
b) There is given a variable named "nType" . Should be a "Long". What number is preferred by the dll? I tried it out with 0,1 and 2. But: No effect, no error, no systemcrash....
I will be happy if someone has an idea how to fix my problem.
Sorry for my mistakes. Only a pupil and from Germany
I'm going to use the VB Code of the FLCodec File.
I wrote an Programm in C++ to create a textfile of a *.fl file. But now I'm going to try this in VB for using in a new program.
The decleration of this dll is :
Public Declare Function flcodec Lib "c:\windows\system32\flcodec.dll" (ByVal nType As Long, ByVal szSource As String, ByVal szDest As String) As Long
a) if i declare this function as public the program returned an error because to declare a function in the main-decleration is not allowed
b) There is given a variable named "nType" . Should be a "Long". What number is preferred by the dll? I tried it out with 0,1 and 2. But: No effect, no error, no systemcrash....
I will be happy if someone has an idea how to fix my problem.
Sorry for my mistakes. Only a pupil and from Germany