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
 Compiler errors after update to 4.3.1

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
swestner Posted - May 14 2013 : 04:11:27
Hello,

after upgrading to 4.3.1 I get the following compiler errors:

[DCC Error] uImageSupport.pas(139): E2003 Undeclared identifier: 'gDefaultDPIX'
[DCC Error] uImageSupport.pas(139): E2003 Undeclared identifier: 'gDefaultDPIY'
[DCC Error] uImageSupport.pas(1136): E2003 Undeclared identifier: 'DefGIF_LZWDECOMPFUNC'
[DCC Error] uImageSupport.pas(1137): E2003 Undeclared identifier: 'DefGIF_LZWCOMPFUNC'
[DCC Error] uImageSupport.pas(1138): E2003 Undeclared identifier: 'DefTIFF_LZWDECOMPFUNC'
[DCC Error] uImageSupport.pas(1139): E2003 Undeclared identifier: 'DefTIFF_LZWCOMPFUNC'

when compilig lines like

ImageEnProc._CopyBitmaptoDIBEx( aBitmap, 0, 0, aBitmap.Width-1, aBitmap.Height-1, gDefaultDPIX, gDefaultDPIY)

initialization
DefGIF_LZWDECOMPFUNC:=GIFLZWDecompress;
DefGIF_LZWCOMPFUNC:=GIFLZWCompress;
DefTIFF_LZWDECOMPFUNC:=TIFFLZWDecompress;
DefTIFF_LZWCOMPFUNC:=TIFFLZWCompress;
end.

What have I change to bring it to work again?

Greetings

Stefan Westner
1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - May 14 2013 : 04:22:27
Now global settings are enclosed in a single global class. You can get an instance of this class using IEGlobalSettings(), so you have to replace:

gDefaultDPIX with IEGlobalSettings().DefaultDPIX
gDefaultDPIY with IEGlobalSettings().DefaultDPIY
DefGIF_LZWDECOMPFUNC with IEGlobalSettings().DefGIF_LZWDECOMPFUNC
DefGIF_LZWCOMPFUNC with IEGlobalSettings().DefGIF_LZWCOMPFUNC
DefTIFF_LZWDECOMPFUNC with IEGlobalSettings().DefTIFF_LZWDECOMPFUNC
DefTIFF_LZWCOMPFUNC with IEGlobalSettings().DefTIFF_LZWCOMPFUNC