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
|
|
|