gflLoadBitmapFromMemory error [Delphi]

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

Moderators: XnTriq, helmut, xnview

Post Reply
Nols Smit
Posts: 16
Joined: Mon Jun 27, 2005 6:38 pm

gflLoadBitmapFromMemory error [Delphi]

Post by Nols Smit »

Hi,

I’m my Delphi program, I declared a memory stream:

Bigms: TmemoryStream;

The following statement in my program:
e := gflLoadBitmapFromMemory(Pchar(BigMS), BigMS.Size, gfl_bmp, lp, finfo);

give a compile error:
[Error] UserSessionUnit.pas(198): Undeclared identifier: 'gflLoadBitmapFromMemory'

But the following statement executes without a problem:
e := gflLoadBitmap(Pchar(ImageFilePathName), gfl_bmp, lp, finfo);

(I can't read the image file directly because it is a web application, created by using the IntraWeb components of AtoZedSoftware)


Any suggestions?


Nols Smit
User avatar
xnview
Author of XnView
Posts: 43595
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: gflLoadBitmapFromMemory error [Delphi]

Post by xnview »

Nols Smit wrote:Hi,

I’m my Delphi program, I declared a memory stream:

Bigms: TmemoryStream;

The following statement in my program:
e := gflLoadBitmapFromMemory(Pchar(BigMS), BigMS.Size, gfl_bmp, lp, finfo);

give a compile error:
[Error] UserSessionUnit.pas(198): Undeclared identifier: 'gflLoadBitmapFromMemory'

But the following statement executes without a problem:
e := gflLoadBitmap(Pchar(ImageFilePathName), gfl_bmp, lp, finfo);

(I can't read the image file directly because it is a web application, created by using the IntraWeb components of AtoZedSoftware)


Any suggestions?
Yes normal, i forgot to add this function to the delphi wrapper.
Pierre.
Post Reply