Александр Рощупкин
unread,4:49 AM (14 hours ago) 4:49 AMSign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to WebP Discussion
Hello!
I want to use part of the libwebp library to view images in a program written in VB 6.0 on 32-bit systems (Windows XP x86).
I've declared declarations for two library functions:
Public Declare Function WebPGetDecoderVersion Lib "libwebp.dll" () As Long
Public Declare Function WebPGetInfo Lib "libwebp.dll" (ByRef Arr As Any, _
ByVal data_size As Long, ByRef Wwidth As Long, _
ByRef Wheight As Long) As Long
The first function works fine when called:
Label4.Caption = WebPGetDecoderVersion
The second function, when called:
Addr = WebPGetInfo(bRead(0), FSize - 1, ImgW, ImgH)
raises an error: "Bad DLL calling convention".
I tried compiling the parts I needed from the libwebp library. The decode.h file contains prototypes of the functions I need, but I couldn't find the functions themselves.
What should I do to find them?