Page 1 of 1

VB Sample GFL_FILE_INFORMATION problem

Posted: Thu Jun 30, 2005 3:26 pm
by JMC
Hello,

I've installed the lastest GFLSDK to explore it with VB.
But I've got a problem in the first sample,
about 'getting comments from a picture'.

The line
extGetGflComments Infos.Comment, Comments, Infos.NumberOfComment
deal with 'Comment' and 'NumberOfComment'
which are not in the 'Public Type GFL_FILE_INFORMATION'

And this description is different from VB (or C) sample,
and he help file. In VB GFLLIB.BAS, you have :
Public Type GFL_FILE_INFORMATION
....
Compression As Integer
CompressionDescription As String * 64
XOffset As Long
YOffset As Long
End Type
In the help file, you have :
typedef struct (
....
GFL_COMPRESSION Compression,
char CompressionDescription[64],
GFL_UINT16 NumberOfComment,
char ** Comment,
} GFL_LOAD_PARAMS

Is anyone solve this problem ?
What is the right VB description ?


JMC

Re: VB Sample GFL_FILE_INFORMATION problem

Posted: Fri Jul 01, 2005 11:31 am
by xnview
JMC wrote: Is anyone solve this problem ?
What is the right VB description ?
Ok, i'll fix it

Re: VB Sample GFL_FILE_INFORMATION problem

Posted: Fri Mar 10, 2006 6:22 am
by jnh
xnview wrote:
JMC wrote: Is anyone solve this problem ?
What is the right VB description ?
Ok, i'll fix it
have you solve it sir?