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]>
>