Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Perhaps someone can give me a hint.

edited January 2007 in General
I'm using now RB 10.04 with WPTools 4.

If I use a report (print preview) which uses a WPTools Richtext
Component and then closes my app, I get a access violation. So far I
see, it happens in a finalization of a unit but I don't find it.

Has somebody a similar problem and can give me a hint?

Best wishes
Bernhard

Comments

  • edited January 2007
    More information. It happens in forms.pas when in TApplication.Destroy.

    Exactly this code is the problem :

    if (FHandle <> 0) and FHandleCreated then
    begin
    if NewStyleControls then SendMessage(FHandle, WM_SETICON, 1, 0);
    DestroyWindow(FHandle);
    end;

    DestroyWindow throws the exception Access Violation. This only happens
    if I used a report with WPTools 4 components during the session?

    Any ideas?

    Best wishes
    Bernhard

    Bernhard Roos schrieb:
  • edited January 2007
    Really no ideas? Am I the only one which has this problem after Updating
    to RB 10.04?
    Best wishes
    Bernhard

    Bernhard Roos schrieb:
  • edited January 2007

    I recommend contacting WP Tools tech support about this issue. Perhaps they
    have an update to the wrapper code. (I was hoping one of our customers who
    uses WP Tools would post an answer to your question).


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.