TOraSession: problem using them in Dlls linked by .lib
Posted: Tue 19 Dec 2006 16:09
Hi,
i have a problem using TOraSession in Dlls.
I'm using ODAC 5.80.0.38 for Builder 6.
What's happen is:
- I crete TOraSession in a Dll project.
- I link Dll in a consumer with .lib file
- I create a TOraSession
- I connect to database
- I disconnect from database
- I delete TOraSession (but even don't delete, it is not important)
- while terminating consumer program it doesn't exit and processor use percentage remains 50 % for ever.
I haven't try to link Dll with LoadLibrary.
Remarkable: even if I don't instantiate any class in dll but just link the dll in consumer project the problem still remain.
I'll send my entire dll and a little consumer project to Support team to find out the problem.
thanks
Francesco L.
P.S.: the problem is critical.
i have a problem using TOraSession in Dlls.
I'm using ODAC 5.80.0.38 for Builder 6.
What's happen is:
- I crete TOraSession in a Dll project.
- I link Dll in a consumer with .lib file
- I create a TOraSession
- I connect to database
- I disconnect from database
- I delete TOraSession (but even don't delete, it is not important)
- while terminating consumer program it doesn't exit and processor use percentage remains 50 % for ever.
I haven't try to link Dll with LoadLibrary.
Remarkable: even if I don't instantiate any class in dll but just link the dll in consumer project the problem still remain.
I'll send my entire dll and a little consumer project to Support team to find out the problem.
thanks
Francesco L.
P.S.: the problem is critical.