Re: CoCreateInstance failing on Vista

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I am debugging by using the log statements and found that when I call
CoCreateInstance from lsp dll which is loaded by svchost.exe. Control is not
coming on the
_tWinMain of my out proc server (which registered as service). Neither the
CoCreateInstance returning some error. It is simply crashing. I also
checked, there is no global or static member in my out proc server which can
cause the crash.

Regards,
Manish Agarwal

"Brian Muth" <bmuth@xxxxxxxx> wrote in message
news:Og8HwZGCJHA.1628@xxxxxxxxxxxxxxxxxxxxxxx
What debugging have you done?



I am calling CoCreateInstance for one of my out proc server from a dll
(LSP) which is loaded by window services but this call causing crash on
Windows Vista while working fine on XP. OnVista Ultimate crash occur
imediatly while of Vista Business it take 8 to 10 minutes to crash. What
could be the reason for this.


.