Error in libgfl.pas

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

Moderators: XnTriq, xnview

Post Reply
User avatar
madiazg
Posts: 82
Joined: Wed Jul 18, 2007 8:00 pm
Location: Tenerife - Islas Canarias
Contact:

Error in libgfl.pas

Post by madiazg » Sat May 01, 2010 11:10 am

Hi,
I have found a bug in libgfl.pas.

The function:

Code: Select all

function gflImportFromClipboard(dst: PGFL_BITMAP): GFL_ERROR; stdcall;
must be replaced by:

Code: Select all

function gflImportFromClipboard(dst: PPGFL_BITMAP): GFL_ERROR; stdcall;
Best Regards
Miguel Angel

User avatar
AmigoJack
Posts: 33
Joined: Tue Mar 09, 2010 6:40 pm
Contact:

Re: Error in libgfl.pas

Post by AmigoJack » Tue May 04, 2010 3:41 pm

I already changed that months ago, see http://newsgroup.xnview.com/viewtopic.php?f=4&t=19530 version from 2010-03-21 (which also contains a compiler switch to be compatible with all projects using pointers instead of VAR-definitions).

Post Reply