delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/14/20:10:31

From: ebritten AT uci DOT edu (Eric Britten)
Subject: Re: Console GUI Utilities: Bad dll executables.
14 Jul 1997 20:10:31 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33CAC841.B8942E69.cygnus.gnu-win32@uci.edu>
References: <862564D4 DOT 00714B98 DOT 00 AT houns01 DOT houston DOT ibm DOT com>
Mime-Version: 1.0
X-Mailer: Mozilla 4.01 [en] (Win95; I)
Original-To: gnu-win32 AT cygnus DOT com
X-Priority: 3 (Normal)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Thanks for checking out my Console GUI utilities.

I built all the executables on a Windows 95 machine using gcc and the
Minimilist GNUWin32 Package and they work on my machine, but I never
tested them on NT or any other computer.

>From the error message that is below, apparently the gnugui.dll file is
invalid for Windows NT.  There have been many problems posted to this
list regarding producing working dynamic link libraries lately
especially after b18 was released.  I don't know what the problem could
be but I will try to figure it out.

Anyone know what the problem could be?  This is the makefile portion
that produces the library(gnugui.dll).
LIBS=-luser32 -Wl,-subsystem,windows -lcomctl32 -lcomdlg32\
    -ladvapi32 -lgdi32 -lshell32 -lversion

gnugui.dll : gnuGUI.o gnuGUI-dll.o gnugui.ro fixup.o conDialog.o
standard.o printdlg.o print.o preview.o dispatch.o shell.o
     g++ -dll -o $@ $^ $(LIBS) -Wl,-e,_DllEntry AT 12,--base-file,dll.base
     dlltool --as=as --dllname gnugui.dll --base-file dll.base --def
gnugui.def --output-lib gnugui.a --output-exp gnugui.exp
     g++ -dll -o $@ $^ $(LIBS) -Wl,-e,_DllEntry AT 12,gnugui.exp
     dlltool --as=as --dllname gnugui.dll --base-file dll.base --def
gnugui.def --output-lib gnugui.a --output-exp gnugui.exp
     g++ -dll -o $@ $^ $(LIBS) -Wl,-e,_DllEntry AT 12,gnugui.exp
     rm dll.base gnugui.exp

fixup.o is the import fixup code.  It was compiled with b17.1 I think,
could this be the problem?  Since I don't use Windows NT, I can't test
it.  I'll compile fixup.o with b18 and publish the executables to
http://pages.prodigy.net/britten/gnugui/

daumas AT raleigh DOT ibm DOT com wrote:

> I ran this under Winnt 4.0 and nothing happened, so I checked the
> Event
> Viewer and found the following:
>
> Application popup: gui.exe - Bad Image :
> The application or DLL E:\temp\congui\gnugui.dll is not a valid
> Windows NT
> image.
> Please check this against your installation diskette.
>
> Is there something wrong with your distribution package?
>
> Thanks.
>
> Henri Daumas
> IBM
>
> ebritten AT uci DOT edu on 07/14/97 12:07:44 PM
>
> To:   gnu-win32 AT cygnus DOT com
> cc:    (bcc: Henri Daumas/HPSI/US)
> Subject:  Console GUI Utilities
>
> I have updated the Console GUI Utilities(formerly known as GNU GUI).
> So
> far I have one for nm.  I also wrote a generic application to handle
> the
> output of any console application and put the output in a window so
> you
> can scroll through it, copy it to the clipboard, save it to a file.
> You
> can also paste files from the clipboard drop files to be arguments of
> the console program that the front end handles.
> Be warned, though.  Bugs could exist, though most function operate
> correctly.
> The files are at http://pages.prodigy.net/britten/gnugui and they are
> free.  Any feedback is welcome.
> Eric Britten
> ebritten AT uci DOT edu
>
> -
> For help on using this list (especially unsubscribing), send a message
> to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".




-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019