This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Netscape Enterprise dll
- To: gnu-win32 at cygnus dot com
- Subject: Netscape Enterprise dll
- From: kemp at eease dot com (John Kemp)
- Date: Wed, 28 May 1997 16:17:25 -0400
- Organization: Employease Inc.
- Reply-To: kemp at eease dot com
I'm trying to write dlls that export functions for Netscape Enterprise
Server, portable between unix and NT, but I'm having some trouble
getting them into a valid dll - Netscape Server fails to load the dlls
as it says they are not valid Windows dlls.
Anyone know what that's all about? My compile is shown below :-
winmain.c contains the function dllEntry as spec'd, and fix.c contains
the line
asm(".section .idata$3\n" ".long 0,0,0,0,0") ;
#!/bin/sh
ld --dll --base-file lw_buffer.base -o junk lw_buffer.o winmain.o fix.o
-e _dllEntry@12 /usr/i386-cygwin32/lib/libcygwin.a
dlltool --dllname lw_buffer.dll --def lw_buffer.def --base-file
lw_buffer.base --output-exp lw_buffer.exp --output-lib lw_buffer.a
ld lw_buffer.exp --dll -o lw_buffer.dll lw_buffer.o winmain.o fix.o
$LIBPATH/libcygwin.a -e _dllEntry@12
Any thoughts?
Thanks
John
--
............................
John Kemp
Employease Inc.
http://www.employease.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".