This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Netscape Plugin with B20.1


Hi again,
After digging the code for while, I found out
the following

1. if I use netscape supplied .def file (contains
functions to be export) with dlltool and dllwrap
could not build DLL due to fake undefined functions. This is because, those functions are
defined as WINAPI (stdcall) proto type with a single argument and pre-defined ordinal numbers
(used by netscape to identify n load those functions ) but gnu ld (linker) unable to resolve those pre-defined ordinal based functions. 

2. on other hand, build dll without using netscape
.def file instead use the dllwrap create .def 
with --export-all flag, linker able to create
dll without any errors but netscape unable to load
the dll. This is because, those functions were defined with different ordinal numbers thuse netscape unable to locate those functions. 

I did changed those values manually in the .def
file and tried to build dll but got the same 
errors. 

Is there way or solution to this problem?

Thanks,
-Muru
 
I used res2coff tool instead of windres to 
> convert rc to .o file. I could able to see
> version information from netscape and Explorer.
> 
> But, still Netscape says could not able to 
> load plugin when I try access it. 
> 
> -muru
> 
> Hi Everyone,
> > 
> > I did build Netscape plugin DLL with B20.1 tools but no success to get it access from Netscape.
> > 
> > However, I did noticed the following
> > After DLL build, check its properties under
> > Windows Explorer. 
> > NT explorer->NPwtemp.dll->properties->Version
> > all information are blanks. I crossed check it
> > with MSVC 4.0 those are well defined. I do believe
> > these are defined from .RC file. I used the same
> > .RC. 
> > 
> > maybe bug in windres tool?  or something wrong 
> > with building process?
> > 
> > Anyone would you like to try out, I put source
> > with modifications along with makefile for ftp.
> > 
> > It can be download through anonymous ftp.
> > ftp munchkin.ia-us.com
> > file name is /pub/muru/plugin.tar.gz
> > 
> > Any suggestions/references really apperciated.
> > 
> > Thanks in Advance.
> > -muru
> > -
> > For help on using this list (especially unsubscribing), send a message to
> > "gnu-win32-request@cygnus.com" with one line of text: "help".
> > 
> > 
> 
> 
> 
> -----
> See the original message at http://www.egroups.com/list/gnu-win32/?start=9970
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
> 
> 



-----
See the original message at http://www.egroups.com/list/gnu-win32/?start=10002
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]