Additional
dbCAP
AnyDAC
ThinDAC
NCOCI8
Topic: AGAIN! ADPhysDriver shoutdown time out Exception
AGAIN! ADPhysDriver shoutdown time out Exception
Posted: 2007/08/12 10:05
 
Hello,

I have problem with using AD components in DLL library.
Every time when I close application where I use DLL with AnyDAC, I've got error: ADPhysDriver shoutdown time out Exception.

I read other topic form this forums about this exception, but in every cases, advice not work.

So I ty to add ADManager.Close, but it's happens no change, and exception still shows.

If you have some time, in this file is little project (DLL and using it application) which causes this exception, maybe you find what is wrong?
http://www.soft-system.pl/other/source.zip
Sources was writen in D2006Win32, MSSQL2005 with standard components.

I waiting for your answer.

best regards,
Immo
Re:AGAIN! ADPhysDriver shoutdown time out Exceptio
Posted: 2007/08/12 23:49
 
Hi Immo,

immo wrote:
...I read other topic form this forums about this exception, but in every cases, advice not work....

Did you read this too?
http://www.da-soft.com/component/option,com_joomlaboard/Itemid,66/func,view/id,11259/catid,4/

That works for me.

Regards
Knut
Re:AGAIN! ADPhysDriver shoutdown time out Exceptio
Posted: 2007/08/13 01:40
 
Hello,

Yes I read this topic, but it not work for me.

Loop executes one time, and ADManager1 is not active. Form from dll disapear, and works fine, until close main application (where I dont use AnyDac) where exception shows...
Re:AGAIN! ADPhysDriver shoutdown time out Exceptio
Posted: 2007/08/13 03:06
 
Hello Immo,

can you post your code for releasing data components in DLL, please?
How do you call this?

Regards
Knut
Re:AGAIN! ADPhysDriver shoutdown time out Exception
Posted: 2007/08/13 03:56
 
Hello

1) Try dynamically load/unload DLL. And use suggested solution.
2) If nothing helps, then only wait for 2.0.

Regards,
Dmitry
Re:AGAIN! ADPhysDriver shoutdown time out Exception
Posted: 2007/08/13 05:06
 
Hello Diman,

I check your suggestion, and if I load library dynamically, everything looks good.
Exception not shows...

thanks,
Immo