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

Invalid Window Handle: Richtext Destroy

edited May 2003 in General
RB7.02, Delphi 6, EWF 1.2.3

I have a web app using EWF that displays some reports as pdf files.

This is fine except after the first time a report with a rich text box
is loaded. It loads and runs the first time but then any other report
fails to load (before it is run).

The call stack is LoadFromStream , ReportDestroy, ...
TppRichText.Destroy, TCustomMemo.Destroy, TWinControl.Destroy,
TWinControl.DestroyWindowHandle.

It happens under the WAD (ie no web server involved) as well as under
IIS.

Thanks,
Rick Matthews
Dartek Systems Inc.

Comments

  • edited May 2003
    Does this happen with any rich text? Can you reproduce this in a simple
    report outside of your application? Can you send an example report to
    support@digital-metaphors.com that shows the problem?

    PS- I still haven't been able to solve your outstanding issue on the master
    detail losing data on traversal. The problem appears to be specific to the
    database. The code in RB is correct, as no other database/data connectivity
    shows this problem in testing.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited May 2003
    Thanks Jim,

    A report with nothing but a non data aware pprichtext does it.

    Do you mean a small sample using ewf?

    On the ps you mean that Sybase 5.5 is the culprit? The sample
    database I gave you was just a newly created one.

    Thanks

  • edited May 2003
    Send the simple rich text report in a simple project that shows the error to
    support@digital-metaphors.com and we'll find out what is happening.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited May 2003
    Thanks Jim, a simple project has been emailed.

    Cheers,

This discussion has been closed.