GetObject() failed
-
I am developing a simple local COM server, after I finished building this server(compiled, ran), then I used the OLE/COM object viewer to check it (I am using VC6.00, and this OLE/COM object viewer is a tool provided in the IDE of VC6.0), I opened up the "All Objects", I can see the one that is inside my newly created local COM server, but when I clicked the "+" sign to open it more up, it says the following: GetObject() failed, The system cannot find the path speicifed, $80070003 Anyone knows what is this and what is reason?? :confused: thanks!
-
I am developing a simple local COM server, after I finished building this server(compiled, ran), then I used the OLE/COM object viewer to check it (I am using VC6.00, and this OLE/COM object viewer is a tool provided in the IDE of VC6.0), I opened up the "All Objects", I can see the one that is inside my newly created local COM server, but when I clicked the "+" sign to open it more up, it says the following: GetObject() failed, The system cannot find the path speicifed, $80070003 Anyone knows what is this and what is reason?? :confused: thanks!
Did you remove the DLL file after it was registered? Take a look at the registry key HKEY_CLASSES_ROOT\CLSID\{your class' GUID}\InprocServer32 (assuming it's a DLL server). The default value of that key should be the path to your DLL. If it isn't, bingo, there's your problem. If the value is correct, then I can't really tell. -- Weiter, weiter, ins verderben. Wir müssen leben bis wir sterben.
-
Did you remove the DLL file after it was registered? Take a look at the registry key HKEY_CLASSES_ROOT\CLSID\{your class' GUID}\InprocServer32 (assuming it's a DLL server). The default value of that key should be the path to your DLL. If it isn't, bingo, there's your problem. If the value is correct, then I can't really tell. -- Weiter, weiter, ins verderben. Wir müssen leben bis wir sterben.
-
Thanks! In fact, I am using a EXE (local COM server) server, and the registry key looks like following:
HKEY_CLASSES_ROOT\CLSID\{myClassGUID}\LocalServer32 = somePath
so this part should be fine... I appreciate your input very much though. liyang
Could it be that your COM server depends on a DLL (probably home made) which OLE/COM Viewer can't find? I can't remember if that fault produces the "file not found" error or "device not ready". In any case, the error code given is not intuitive. :~ -- Weiter, weiter, ins verderben. Wir müssen leben bis wir sterben.
-
Could it be that your COM server depends on a DLL (probably home made) which OLE/COM Viewer can't find? I can't remember if that fault produces the "file not found" error or "device not ready". In any case, the error code given is not intuitive. :~ -- Weiter, weiter, ins verderben. Wir müssen leben bis wir sterben.