activeX-dll hangs with 99% cpu-time 
Author Message
 activeX-dll hangs with 99% cpu-time

hi there,
a activeX-dll hangs with 99% cpu-time after running for
some time on a server. the dll uses ado-connections and recordsets.
There is no unterminated loop in the code. the dll instanciates
other objects in third party dlls. could the hang-up be a result
of connection not set to nothing in some methods?
how can i trace the module (dll), that is finally using the
cpu-time (dllHost holds all dlls)?
thanks,
roman
--
Direct access to this group with http://www.*-*-*.com/
http://www.*-*-*.com/


Fri, 09 Dec 2005 22:17:22 GMT  
 activeX-dll hangs with 99% cpu-time
My guess is that the dll contains an invalid reference.

check to make sure you have the same version of ADO, MSXML, that is on the
box where the dll was built.

cheers

Greg Jackson
PDX, OR



Fri, 09 Dec 2005 23:22:36 GMT  
 activeX-dll hangs with 99% cpu-time
It could be because of any/all of the following reasons:
1. Your connection to the DB is creating some problems (slow connection that
makes dll wait and then hang)
2. Your invalid references (mostly its ADO, try reinstalling the ADO version
(2.1, 2.5 etc etc??) thats actually you are using)
3. Office Automation? (are u using office application?  word, excel etc?
check it properly as some incompatibilities are there that create probs from
machine to machine so test it separately before integrating to one)

HTH
--
Ashok Gupta - ashi
This posting is provided "AS IS" with no warranties, and confers no rights.

Quote:
> hi there,
> a activeX-dll hangs with 99% cpu-time after running for
> some time on a server. the dll uses ado-connections and recordsets.
> There is no unterminated loop in the code. the dll instanciates
> other objects in third party dlls. could the hang-up be a result
> of connection not set to nothing in some methods?
> how can i trace the module (dll), that is finally using the
> cpu-time (dllHost holds all dlls)?
> thanks,
> roman
> --
> Direct access to this group with http://web2news.com
> http://web2news.com/?microsoft.public.vb.com



Sat, 10 Dec 2005 13:04:38 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. activeX-dll hangs with 99% cpu-time

2. dllHost hangs with 99% cpu time

3. :Multi-Thread Takes 99% CPU VB.NET:Help:

4. 87% to 99% CPU Usage!

5. NotInList works 99% of the time

6. Sleep API is using up 60% CPU time in the DLL

7. ActiveX DLL causing application to hang.

8. ActiveX DLL and program hanging...

9. ActiveX DLL Hangs IIS

10. Software Hang when called DLL hangs

11. VB Sleep Hangs up CPU

12. VB Sleep is causing the CPU to Hang!

 

 
Powered by phpBB® Forum Software