Topic: AGAIN! ADPhysDriver shoutdown time out Exception
|
|
immo
User
 Fresh Boarder
| Posts: 3 |   | Karma: 0 |
|
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
|
|
knulo
User
 Senior Boarder
| Posts: 38 |   | Karma: 1 |
|
immo
User
 Fresh Boarder
| Posts: 3 |   | Karma: 0 |
|
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...
|
|
knulo
User
 Senior Boarder
| Posts: 38 |   | Karma: 1 |
|
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
|
|
Diman
Admin
 Admin
| Posts: 1495 |  | Karma: 19 |
|
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
|
|
immo
User
 Fresh Boarder
| Posts: 3 |   | Karma: 0 |
|
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
|
|
|