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
gflLoadBitmapFromMemory error [Delphi]
Moderators: helmut, XnTriq, xnview
Re: gflLoadBitmapFromMemory error [Delphi]
Yes normal, i forgot to add this function to the delphi wrapper.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?
Pierre.