I did check what Thomas has suggested and I had no luck. I am reading
Andrew Troelsen's COM book and I am having a hard time doing the labs in
his book. Did anyone here happen to read his book and also did the labs?
Or, can someone point me to a small example of a client using a LOCAL
com server (not the in-proc com server)?

Thanks!

-----Original Message-----
From: Thomas J. Hruska [mailto:[EMAIL PROTECTED]
Sent: Monday, October 25, 2004 3:43 PM
To: [EMAIL PROTECTED]
Subject: Re: [c-prog] COM question


At 11:12 AM 10/25/2004 -0400, Yu, Liyang writeth:
>
>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" item in
>this viewer, I can see the class (CLSID) that is inside my newly
>created local COM server, but when I clicked the "+" sign that is in
>front of this class name to open it more up, it says the following:
>
>GetObject() failed,
>The system cannot find the path specified, $80070003
>
>And the client I developed to use this server also failed.
>Anyone knows what is this and what is reason??

The COM architecture can't find the DLL on your system or it failed to
load with LoadLibrary() are the two most common causes.  Make sure the
path in the registry for the COM server is correct.  Make sure you have
the proper threading model in place and it is the correct server type
(e.g.
InProcServer).


Thomas J. Hruska
[EMAIL PROTECTED]

Shining Light Productions
Home of the Nuclear Vision scripting language and ProtoNova web server.
http://www.slproweb.com/





------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/EbFolB/TM
--------------------------------------------------------------------~->

To unsubscribe, send a blank message to
<mailto:[EMAIL PROTECTED]>.
Yahoo! Groups Links









To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=369581514


Yahoo! Groups Links

Reply via email to