T O P I C R E V I E W |
whisper1980 |
Posted - Oct 10 2020 : 14:32:20 When I run my app under the IDE compiled as Windows 64bit, I get the following error six times when the program starts up: Exception class SC0D00094 with message 'c0000094 INTEGER_DIVIDE_BY_ZERO'.
Stack (SnagIt text capture): 00000000010550A7 ConvertWICBitmapToIEBitmap + $367 00000000010573F0 TIEWICReader.GetFrame + S330 0000000001058E0F lEWICRead + S9F 0000000001080750 ReadPNGStream + $110 000000000126414D TmageEnIO.SyncLoadFromStreamPNG + S11D 0000000001264431 TlmageEnIO.LoadFromStreamPNG + $71 0000000001260BFC TmageEnIO.LoadFromStream + S3DC 0000000001412DDE TIEBitmap.Read + SCE 000000000142DF9E TIEBitmap.LoadFromResource + $6E 00000000011A99CC TImageEnLayerMView.SetButtonParams + S11C 00000000011A84BA TImageEnLayerMView.Create + S22A System.Classes.CreateComponent
This does not occur when running in the IDE as a Windows 32bit app. Also, no error occurs outside of the IDE in either 32bit or 64bit.
ImageEn 9.2.0. I believe this did not occur in 9.1.1, but I was using Delphi 10.3.3 then. Now I am using Delphi 10.4.1.
Eric |
3 L A T E S T R E P L I E S (Newest First) |
whisper1980 |
Posted - Oct 11 2020 : 17:46:02 I use the same image editing form in my main app as well as a standalone app. In the main app, it warned me that I had a missing or incompatible version of the dll. The stand-alone app did not and I got that error I mentioned. After I updated the DLL the main app worked, and then I went and ran it stand-alone and it also worked. It is possible that 10.4.1 was in a bad state, so when I switched projects it somehow worked itself out and I was attributing it to the dll update.
Eric |
xequte |
Posted - Oct 11 2020 : 17:16:39 Hi Eric
In this case, because it didn't find a valid DLL it has fallen back to WIC to load PNG files. I'm not sure why it has failed to load via WIC, but I cannot reproduce it here...
Nigel Xequte Software www.imageen.com
|
whisper1980 |
Posted - Oct 10 2020 : 14:55:34 My bad. I forgot to update the ielib64.dll when I updated to 9.2.0. Once I did that, the problem went away. Thought I'd mention that instead of deleting the post in case someone runs into the same error I had.
Eric |