Hi,

I thought I start a new post, because the old thread is already quite nested and I made some progress. I'm still trying to get my embedding app running without linking xpcom.lib in. Only two missing symbols are all that's in my way to a running app:

embed_base_s.lib(nsEmbedAPI.obj) : error LNK2001: unresolved external Symbol "__declspec(dllimport) public: __thiscall nsGetServiceByContractID::nsGetServiceByContractID(char const *,class nsISupports *,unsigned int *)" (__imp_??0nsGetService
ByContractID@@[EMAIL PROTECTED]@@[EMAIL PROTECTED])
embed_base_s.lib(nsEmbedAPI.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall nsCreateInstanceByContractID::nsCreateInstanceByContractID(char const *,class nsISupports *,unsigned int *)" (__imp_??0nsCr
eateInstanceByContractID@@[EMAIL PROTECTED]@@[EMAIL PROTECTED])


dumpbin tells me that xpcomglue_s.lib exports them, but for some reason linking with xpcomglue_s.lib doesn't help.

I'm currently linking with the following libs: xpcomglue_s.lib embed_base_s.lib plc4.lib nspr4.lib xpcomglue.lib user32.lib advapi32.lib gdi32.lib

Help is greatly appreciated, and I promise that I write an "embedding newbie howto" once I got my app running ;)

- Nico
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to