This is probably a shot in the dark as there is not much information here, but one of my customers has received an AV while trying to print a document in a TWPRichText control. The text is rendered correctly in the control. I haven't been able to replicate the error myself, unfortunately.
The callstack when the AV occurred was as follows:
Code
exception class : EAccessViolation
exception message : Access violation at address 71615978 in module 'IMFNT5.DLL'. Read of address 0000006C.
Main ($a10):
71615978 +0000 IMFNT5.DLL
77f28396 +0130 GDI32.dll GdiPrinterThunk
7c91096d +000c ntdll.dll RtlReleasePebLock
7c910942 +0025 ntdll.dll RtlAcquirePebLock
7c91096d +000c ntdll.dll RtlReleasePebLock
00404c52 +0002 LabourPro.exe System 235 +0 @ClassDestroy
77f2c2ba +0013 GDI32.dll GetTextExtentPoint32A
7c90eae0 +0010 ntdll.dll KiUserCallbackDispatcher
77f2c2ba +0013 GDI32.dll GetTextExtentPoint32A
00480eae +003a LabourPro.exe Graphics TCanvas.TextExtent
00480ecb +000f LabourPro.exe Graphics TCanvas.TextWidth
009b4fcc +39e4 LabourPro.exe WPRTEPaint PaintLine
009b8de1 +0321 LabourPro.exe WPRTEPaint PrintOtherAreas
009baf18 +1d08 LabourPro.exe WPRTEPaint TWPRTFEnginePaint.PaintRTFPage
009fdab1 +0075 LabourPro.exe WPCTRMemo 8442 +5 TWPCustomRtfEdit.PaintPageOnCanvas
00a021de +007a LabourPro.exe WPCTRMemo 13008 +15 TWPCustomRtfEdit.PrintPage
00a02657 +026f LabourPro.exe WPCTRMemo 13172 +64 TWPCustomRtfEdit.PrintPages
00a1c2b4 +0418 LabourPro.exe WPCTRRich 3512 +123 TWPCustomRichText.PrintDialog
Alles anzeigen