![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | CoGetClassObject hangs Hello! We have a strange problem with CoGetClassObject. We have some older C++ applications using COM to communicate with each other and we have some newer ones, developed in C#. When i call CoGetClassObject from a C++ application to retrieve the classfactory for a C# class everything works fine, but sometime in the future the same call will hang (actually its the 127th, the 254th, ... but i am not superstitious ;-) I have tried every single CoInitialize / CoInitializeEx / CoInitializeSecurity option i could find and all objects are local, no remoting at all. Can somebody help me? Or give me a hint what i can try out next? Any comments highly appreciated! |
My System Specs![]() |
| | #2 (permalink) |
| | Re: CoGetClassObject hangs Problem solved! Of course it had nothing to do with the CoGetClassObject call at all, but the module i wanted to retrieve an interface pointer of was hanging, therefore the CoGetClassObject freezed and so the application i wrote was blocking. Problem found between my ears ;-) |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| App hangs | General Discussion | |||
| PC just hangs! | Vista General | |||
| every app hangs | General Discussion | |||
| PC Hangs | Vista General | |||
| IE 7 hangs using 100% CPU | Vista General | |||