I am extremely sorry  the directory is
WIN32_O.OBJ. I have not mixed the debug and nondebug builds. and i am using
NONDebug build only. But still the problme persists.
I just mistakenly wrote it as WIN32_D.OBJ. PLease forgive me for the same.

Do let me know why the problme is there.

Thanks in advance

Regards

Pras

"John Bandhauer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Anandprasanna Gaitonde wrote:
> >
> > Thank u so much for the reply.
> >
> > At present the The directoy WIN32_D.OBJ is not created inside
xpcom/build/
> >
> > So now i explicitly created it and copied the files from
> > xpcom\sample\WIN32_O.OBJ  to the directory  u mentioned.
>
> This is just wrong. WIN32_D.OBJ is used for debug builds.
> WIN32_O.OBJ is for optimized (non-debug) build. If MOZ_DEBUG is
> defined in your environment the system builds debug builds.
> Otherwise it builds non-debug. You don't want to be mixing the
> two.
>
> John.
>
>
> > the files were
> >   cmd.cfg
> > nsSample.obj
> > nsSampleModule.obj
> >
> > Please note that the directory WIN32_O.OBJ inside xpcom\sample  gets
created
> > when i try to build the sample using nmake.
> >
> > But even after i did the above thing i get the same 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
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > Please let me know if i have misunderstood u or if i have missed
anything.
> > What is the problem??
> >
> > Thanks in advance
> >
> > Regards
> >
> > Pras
> >
> > "John Bandhauer" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Clobber the output files in xpcom/build/WIN32_O.OBJ and build
> > > again.
> > >
> > > John.
> > >
> > > Anandprasanna Gaitonde wrote:
> > > >
> > > > Hello sirs,
> > > >
> > > > Can u please help with the creation of sample.dll.
> > > >
> > > > I am trying to create it using the nmake facility. I am just trying
to
> > bild
> > > > the sampl itself.
> > > > when i do
> > > > nmake /f makefile.win
> > > > I am getting 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
> > > >                   ^^^^^^^^^^^^^^^^
> > > >
> > > > Why is this error coming. Is the problem with file xpcom.dll?? Ami
> > missing
> > > > something??
> > > >
> > > > Please let me know
> > > >
> > > > Thanks in advance
> > > >
> > > > Pras
> > > >
> > > > "Ryoichi Furukawa" <[EMAIL PROTECTED]> wrote in message
> > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > > Hi,
> > > > >
> > > > > I create sample.dll on IDE of VC++6.0(SP3)
> > > > > on Windows2000(SP1)
> > > > > It's sample xpcom dll included in mozilla/xpcom/sample/.
> > > > > (I imported sample codes *.cpp *.h in VC++ IDE project.)
> > > > >
> > > > > If I create sample.dll on the command line 'nmake',
> > > > > and put it under the bin/component directory.
> > > > > When mozilla loads xpconnect-sample.html,
> > > > > sample.dll is running. (Good!!)
> > > > >
> > > > > But If I create sample.dll on the IDE,
> > > > > mozilla crashes everytime.
> > > > >
> > > > > A call stack is 'only' this.
> > > > >
> > > > > 0012dea0()
> > > > >
> > > > > Though source files are no different,
> > > > > why sample.dll crashes Mozilla?
> > > > >
> > > > > Could you teach me how to use VC++ IDE
> > > > > instead of command line build ?
> > > > > (ex. need more special include file,
> > > > > or set environment variable, etc... )
> > > > >
> > > > >
> > > > > Thanks.
> > > > >
> > > > > --
> > > > > Ryoichi Furukawa
> > > > > <[EMAIL PROTECTED]>
> > > > >



Reply via email to