I am having problems with building sample.dll itself on WIN NT machine. can
u please help me.

when i try to run nmake /f makefile.win

we get the following error.
+++ make: exporting IDL files
+++ make: exporting generated XPIDL header files
+++ make: installing typelib '.\_xpidlgen\sample.xpt' to components
directory
+++ make: Creating DLL: .\WIN32_O.OBJ\sample.dll
..\..\dist\WIN32_O.OBJ\lib\xpcom.dll : fatal error LNK1136: invalid or
corrupt file
                  ^^^^^^^^^^^^^^^^

What is the reasong for such an error.

PLease let me know.

Thanks in advance

Regards
Pras


"Rick Parrish" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Jimmy Chen wrote:
>
> > sample.dll was built using Mozilla makefiles.
> >
> > The executable was built using Visual Studio 6.0,
> > I've created a project for it, and linked with
> > xpcom.lib, the flags/options should be the default
> > VC setting. Any particular option  I should turn on ?
> >
> > Both are debug code.
> >
> > Jimmy
>
> Exit out of Visual Studio, drop to a command line and
> rebuild. That works for me. I've only been successful at
> getting compiles sufficient for a syntax check when trying
> to use the IDE and a dsp/dsw file.
>
> It's tedious but you could set up your dsp file to run
> nmake on each and every source file. Yeah, its gross.
> Maybe someone here has a bulletproof DSP file that actually
> works.
>
> -rick
>



Reply via email to