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

Threads errors

edited October 2001 in General
I build my tables and pipelines ect at run time then call the reporter. In
the IDE I tried calling the reporter in a thread and it worked fine. When I
ran the app outside the IDE (ie a normal exe) it gets an memory violation
error. It's a bit hard to debug inside the thread at run time, but it seems
to occur inside the reporter itself. I have set all dialogs to false. Any
clues??

Thanks
Jon (Australia)

Comments

  • edited October 2001
    Hi,

    pse see the answer to your first post.

    Adding to this also remove all calls to visual components when printing
    (no show printdialog, no show cancel dialog, no visual feedback at all).
    Ensure that you dont share any non thread safe vcl components. To find
    your error you need a debugging tool like codesite or overseer (freeware
    on delphre). Within the debugger you wont get the timing issues, you
    encountered when running the app alone.

    When you are printing from the thread, than you can start adding visual
    feedback.

    enjoy,
    Ron.

  • edited October 2001
    "Ronald Eckersberger (TeamDM)" wrote in message
This discussion has been closed.