Invalid Window Handle: Richtext Destroy
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.
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.
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com
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
support@digital-metaphors.com and we'll find out what is happening.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Cheers,