Hi

I don't use ADO much but we do this with IBObjects components and pass 
the 'DBHandle' (a property) and assign that to the dlls Connection.  
This makes things significantly faster.

Hth
Rob

Leigh Wanstead wrote:
> Good afternoon,
>
> I have a exe application with multiple dlls. Each dll has a datamodule
> including a TADOConnection. It takes around half seconds to run
> TADOConnection.Connected := true I assume this is normal.
>
> But all these time total up takes around several seconds which is too long.
> I think that I only have one TADOConnection in one dll. And share the rest
> with this TADOConnection. Can I just pass TADOConnection.ConnectionObject
> around to share dll? My understanding is delphi object can not be shared
> across dll. But _Connection should be ok, right?
>
> BTW, what is the right way to share TADOConnection across dll boundary?
>
> Have a nice day
>
> Regards
> Leigh
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi@delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
>
>   
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to