ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 CreateRGB - Undeclared identifier

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Soft Posted - Sep 19 2017 : 10:33:11
Hello,
I am new to the Delphi world and have inherited a source code.
In the "uses" clause, the units that I believe are have been declared.
I find the following error:



uses
  Windows, Vcl.Dialogs, Vcl.Forms, System.SysUtils, Classes, Data.DBXFirebird, uni, Vcl.controls, imageenIO, ieview, imageenview, ievect, imageenproc,
  WinApi.WinSvc;
. . .
myIO := TImageEnIO.Create(nil);
   try
      myIO.LoadFromFileBMP(FileName);
      myIO.Update;
      myIO.Params.GIF_FlagTranspColor := True;
      myIO.Params.GIF_TranspColor := CreateRGB(255, 255, 255); <-- Error
      myIO.SaveToFileGIF(NewFileName);
      Result := true;
   finally
     myIO.Free;
     myIO := nil;
   end;


How can I solve that.
Thanks in advance.
2   L A T E S T    R E P L I E S    (Newest First)
Soft Posted - Sep 19 2017 : 11:45:56
Hi w2m,
Thank you very much for responding so quickly.
I was doing this, when I received your response.
w2m Posted - Sep 19 2017 : 11:41:08
Add hyieutils to uses.

Look in the help file to find which unit a method is in.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development