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: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to