Damien

> Thats where the modal problem comes in. So how would i go about
> > > showing the modal
> > >form on a seperate thread?

> From: "Corey Murtagh" <[EMAIL PROTECTED]>

[...]

> > Below I've put some sample code that might give you some ideas. 

what Corey just said.   <g>


I'll add one comment/warning.    If the DLL code that creates the
modal dialog and actually does the work of running the report
is a blind "black box" you could get into trouble with conflicts
between the two threads because of behaviour inside the DLL that
isn't "thread safe".

For example - the DLL may allocate one global something and not
expect another thread to be using that global something.   Like
a buffer, or object used to create the report.

So you could end up with a mess doing this.   It really depends
on what's happening inside the DLL.

good luck

-ns




---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to