How does it fail; what is the return code? Do other calls into service manager return anything sucessfully (can you aquire other services)? Are you sure that your application did properly find the GRE?
Regards, Doug Turner
Brad Fish wrote:
I recently tried linking my application against xpcomglue.lib so that I could point to a GRE at an unknown location. However, once I succeeded in doing this, a call to do_GetService(NS_XPCOMPROXY_CONTRACTID, &rv) to get the nsIProxyObjectManager service no longer succeeds. I'm definitely not a Mozilla expert and really have no idea why this wouldn't be working. I would appreciate it if anyone with some expertise with xpcomglue.lib and GREs could help me on this one.
Also, I linked with the following libraries in order to get my code to link properly, which may have something to do with it:
embed_base_s.lib string_obsolete_s.lib string_s.lib plc4_s.lib plds4_s.lib xpcomglue.lib xpcomds_s.lib embedstring_s.lib nspr4.lib nspr4_s.lib nsldif32v50.lib
Thanks in advance for any help you can offer. -- Brad Fish [EMAIL PROTECTED] TALL Group Programmer
