Infopower wwTwwDBRichEdit
Hi,
I am using Delphi 11.1 and Infopower 22.0.3. I use the wwTwwDBRichEdit.execute method to fire up the editor. I insert an Excel object and when I try to save changes, I get an invalid floating point operation error. This is followed by a second error message "Access violation at address xxxxxx in module RICHED20.DLL. Read of address xxxx9x99x. When I click away the error message, the application hangs. I attached the screenshots.
I am also using Firebird 2.5.9. This issue also happens in D11. I don't have any issue with D10.4.1.
Please advise what is the problem and thanks for your help in advance.
KH
-
Hi all - thought I'd post some findings here in case it's useful. I found the reason I was getting access violations outside the IDE was down to using the UPX utility to pack the application executable (hence why not seen in the IDE, only in production version).
This never caused problems before in previous version of Delphi but as of Delphi Alexandria this now seems to cause AVs when attempting to access the DLL underlying TwwDBRichedit (only in 64-bit version of the app though: still fine in 32-bit versions). AVs happen both when using MSVersion=3 (Riched20.dll) or 4 (msftedit.dll). The easy fix for me was to simply abandon use of UPX. -
Setting MSVersion to 4 removes the access violation issues at entry. I use Report Builder (21.0.3) infopower richedit support to print the richedit contents. When trying to print the richedit with Excel object saved, I get an invalid floating point operation error. Should I wait for your fix or ask Digital Metaphors for assistance?
Please sign in to leave a comment.
Comments
9 comments