Error loading image saved with XML
Posted: Wed Jun 15, 2022 1:26 pm
I'm still new to TRichViewEdit. Error happens when loading a document with a png image. I don't know if it matters, but the document's saved in XML.
Call stack:
Breakpoint in the IDE in debug mode:
Call stack:
Code: Select all
exception class : EAccessViolation
exception message : Access violation at address 00BEB480 in module 'program1.exe'. Read of address 00000050.
main thread ($28a8):
00beb480 +004 program1.exe RVGrHandler 1119 +0 TRVGraphicHandler.CreateGraphic
00e651a8 +140 program1.exe RVXMLRoutines 791 +25 DoReadImage
00e658fa +012 program1.exe RVXMLRoutines 901 +1 ReadImage
00e6b200 +160 program1.exe RVXMLRoutines 2348 +29 LoadRVDataFromXML
00e7eb85 +431 program1.exe RVXMLRoutines 7386 +104 RVLoadFromXML
00e81f0b +123 program1.exe RichViewXML 677 +43 TRichViewXML.DoLoadFromXML
00e817f9 +085 program1.exe RichViewXML 455 +11 TRichViewXML.DoLoadFromStream
00e8185a +002 program1.exe RichViewXML 463 +0 TRichViewXML.LoadFromStream