Page 1 of 1

gflLoadBitmapFromMemory error [Delphi]

Posted: Mon Sep 19, 2005 2:42 pm
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

Re: gflLoadBitmapFromMemory error [Delphi]

Posted: Tue Sep 20, 2005 7:59 am
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.