Thread works in IDE, but not exe
I am creating an app that prints data in structured text files which are
placed in a particular directory. I build my tables and report dynamically
and then call the print method as part of a thread. This works fine inside
the delphi ide but gets a memory violation error when run standalone (access
to mem location 0). Don't know where to start looking - any ideas.
Thanks - Jon Wilson - Australia
placed in a particular directory. I build my tables and report dynamically
and then call the print method as part of a thread. This works fine inside
the delphi ide but gets a memory violation error when run standalone (access
to mem location 0). Don't know where to start looking - any ideas.
Thanks - Jon Wilson - Australia
This discussion has been closed.
Comments
basic multithreading. Instead of calling Report.Print, use the
PrintToDevices method. Try removing any richtext and barcode controls from
the report.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com