Benjamin Smedberg wrote:
Ravi Dronamraju wrote:
I tried niky's instructions and went forward. Here's what i observed

1) xpcom.dll is not under dist/lib but under dist/bin
2) If i used that xpcom.dll to compile it fails with this error "c:\mozilla\dist\bin\xpcom.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x2B8"

You cannot link against DLLs on Windows, you have to link against the matching import library xpcom.lib.

--BDS

Yes, BDS is correct...is why dist/lib is used instead of dist/bin.

Niky Williams
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to