Anandprasanna Gaitonde wrote:
> +++ make: Creating DLL: .\WIN32_O.OBJ\sample.dll
> ..\..\dist\WIN32_O.OBJ\lib\xpcom.dll : fatal error LNK1136: invalid or
> corrupt file
> ^^^^^^^^^^^^^^^^
I'll put the thought I gave you in my private e-mail here, might spark
other ideas. From the error, to me it looks like he's added xpcom.dll as
one of the libraries/object modules, when I think he wants the xpcom.lib
file. The linker is trying to use it as either a .lib or .obj file and
thinking it's corrupt, because it's not one of those types.