VB Sample GFL_FILE_INFORMATION problem

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: helmut, XnTriq, xnview

Post Reply
JMC

VB Sample GFL_FILE_INFORMATION problem

Post 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
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: VB Sample GFL_FILE_INFORMATION problem

Post by xnview »

JMC wrote: Is anyone solve this problem ?
What is the right VB description ?
Ok, i'll fix it
Pierre.
jnh

Re: VB Sample GFL_FILE_INFORMATION problem

Post 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?
Post Reply