Author |
Topic |
|
LanceRasmussen
USA
8 Posts |
Posted - May 30 2013 : 17:07:08
|
Received the updated IE so I can install in XE4.
In my XE3 project, I can no longer compile.
DefGIF_LZWDECOMPFUNC:=GIFLZWDecompress; DefGIF_LZWCOMPFUNC:=GIFLZWCompress; DefTIFF_LZWDECOMPFUNC:=TIFFLZWDecompress; DefTIFF_LZWCOMPFUNC:=TIFFLZWCompress;
I uncommented in your demo apps and it doesn't like either.
What's needed to correct, aside from commenting out? |
|
w2m
USA
1990 Posts |
Posted - May 30 2013 : 17:17:51
|
- removed global fields: iegDefaultCoresCount, iegOpSys, iegUnicodeOS, iegDefaultPreviewsZoomFilter, IEDefDialogCenter, iegDefaultDialogFont, IEDefMinFileSize, iegAutoLocateOnDisk, iegAutoFragmentBitmap, iegUseGDIPlus, iegPreviewImageBackgroundStyle, iegPreviewImageBackgroundColor, iegPreviewAdditionalMultipageExts, iegMemoShortCuts, ieMeasureUnits, gSystemColors, gIsRemoteSession, gSystemDPIX, gSystemDPIY, gDefaultDPIX, gDefaultDPIY, gMMX, gEdgeX, gEdgeY, gBorderX, gBorderY, gVScrollWidth, gHScrollHeight, iegMinZoomDisplayGrid, iegGridPen, iegSelectionGridColor, iegMViewExplorerThumbnailExts, DefGIF_LZWDECOMPFUNC, DefGIF_LZWCOMPFUNC, DefTIFF_LZWDECOMPFUNC, DefTIFF_LZWCOMPFUNC, iegFileFormats, iegUseCMYKProfile, iegUseDefaultFileExists, iegMaxImageEMFSize, iegEnableCMS, iegColorReductionAlgorithm, iegColorReductionQuality, iegObjectsTIFFTag, iegUseRelativeStreams, iegPanZoomQualityFilter, gRedToGrayCoef, gGreenToGrayCoef
Add iesettings to uses.
William Miller Adirondack Software & Graphics Email: w2m@frontiernet.net EBook: http://www.imageen.com/ebook/ Apprehend: http://www.frontiernet.net/~w2m/index.html |
|
|
LanceRasmussen
USA
8 Posts |
Posted - May 31 2013 : 14:24:31
|
I tried and it doesn't work. I still get an Undeclared identifier error.
I've verified my library path goes to the XE3 folder for the DCU's for Imageen.
I've verified my browse path goes to the source directory.
I've uninstalled and recompiled the library manually and installed the component.
I've even moved the PAS file for IESettings to be next to the DCU. |
|
|
w2m
USA
1990 Posts |
Posted - May 31 2013 : 14:51:17
|
This compiles:
Uses ieSettings;
var
iGIFLZWDecompFunc: TGIFLZWDecompFunc;
iGIFLZWCompFunc: TGIFLZWCompFunc;
iTIFFLZWDecompFunc: TTIFFLZWDecompFunc;
iTIFFLZWCompFunc: TTIFFLZWCompFunc;
begin
ieSettings.IEGlobalSettings.DefGIF_LZWDECOMPFUNC :=
iGIFLZWDecompFunc;
ieSettings.IEGlobalSettings.DefGIF_LZWCOMPFUNC := iGIFLZWCompFunc;
ieSettings.IEGlobalSettings.DefTIFF_LZWDECOMPFUNC :=
iTIFFLZWDecompFunc;
ieSettings.IEGlobalSettings.DefTIFF_LZWCOMPFUNC := iTIFFLZWCompFunc;
end; but the compiler says that iGIFLZWDecompFunc, iGIFLZWCompFunc, iTIFFLZWDecompFunc, and iTIFFLZWCompFunc may not be initialized.
There is no discussion in the help file and no demos use the new IEGlobalSettings. Fabrizio should update the help file and include at least one demo.
By looking over the code I am not even sure if it is necessary to set the value anymore. There are no public variables for this anymore.
William Miller Adirondack Software & Graphics Email: w2m@frontiernet.net EBook: http://www.imageen.com/ebook/ Apprehend: http://www.frontiernet.net/~w2m/index.html |
|
|
LanceRasmussen
USA
8 Posts |
Posted - May 31 2013 : 17:28:05
|
Thanks William,
I can confirm that adding ieSettings.IEGlobalSettings. in front fixes the issue for me when trying to compile the sample ImageEX project when uncommenting out the above code.
Thanks!
Lance |
|
|
w2m
USA
1990 Posts |
Posted - May 31 2013 : 17:35:44
|
Please explain.
William Miller |
|
|
xequte
38615 Posts |
Posted - Jun 01 2013 : 19:20:11
|
Hi
These properties exist for legacy reasons. You should not need to use them as they are initialized automatically:
IEGlobalSettings().DefGIF_LZWDECOMPFUNC IEGlobalSettings().DefGIF_LZWCOMPFUNC IEGlobalSettings().DefTIFF_LZWDECOMPFUNC IEGlobalSettings().DefTIFF_LZWCOMPFUNC
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
|
|
|
Topic |
|
|
|