• Hello!

    I have a problem after upgrading from WPForm 2.30 to WPForm 2.50 and WPTools 4 to WPTools 5. When I try to print a specific WPF I get an Access Violation deep inside WPForm. Here is the stack trace. Many someone can help?

    The "obj" parameter is NIL for some reason.

    Exception 'EAccessViolation' in module Aeskulap.exe at 005CCBC8
    Access violation at address 009CDBC8 in module 'Aeskulap.exe'. Read of address 00000000

    Module: WPFRTF5, Source: WPFRTF5.pas, Line 964
    Procedure: Wpfrtf5.WPFOnCanvasToRTFObject

    :009CDBC8 [Aeskulap.exe] Wpfrtf5.WPFOnCanvasToRTFObject (WPFRTF5.pas, line 964)
    :007C5400 [Aeskulap.exe] Wpfgr.TWPFGGraphicText.Print (WPFGr.pas, line 9989)
    :007D6AB9 [Aeskulap.exe] Wpfattr.TWPFCustomEditorEngine.PrintPageOnCanvas (Wpfattr.pas, line 3478)
    :007E266D [Aeskulap.exe] DoPrintPage (WPFrm.pas, line 3136)
    ---
    :007E2729 [Aeskulap.exe] Wpfrm.TWPFEditorEngine.PrintPage (WPFrm.pas, line 3151)
    :007E2E2D [Aeskulap.exe] Wpfrm.TWPFEditorEngine.Print (WPFrm.pas, line 3379)
    :007EC395 [Aeskulap.exe] Wpfrm.TWPFormEditor.Print (WPFrm.pas, line 7437)

    Regards,
    Erik

  • I got your e-mail but unfortunately the fix did not work.

    It would seem that RTF support via WPTool5 is broken in WPForm because I can reproduce the error as soon as I link in WPFRtf5.pas in my project.

    This is a complete show-stopper for me and my efforts to upgrade to WPTool5 and WPForm 2.50 and I need help!

    /Erik

  • Thanks Julian,

    I'm happy to report that WPForm 2.50 now works perfectly with WPTools 5.

    It is still my firm opinion that the combination WPForm / WPTools is the ultimate electronic paper form solution for Delphi developers.

    Regards,
    Erik