Mail Archives: cygwin/1998/05/10/18:43:29
From: | jgable AT imsa DOT edu (Jenny Gable Skywind)
|
Subject: | "not a valid win 32 application"
|
10 May 1998 18:43:29 -0700
: | |
Message-ID: | <Pine.GSO.3.96.980510180423.16410B-100000.cygnus.gnu-win32@coke>
|
Mime-Version: | 1.0
|
To: | Cygnus GNU Win32 Mailing List <gnu-win32 AT cygnus DOT com>
|
I just got the compiler installed, and tried compiling source code from
a book's example code. It compiled without errors (once I used -mwindows),
produced an a.exe, but a.exe would not run.
The error it gave me when I double clicked the icon was, "a.exe is not a
valid Win32 application." What would cause this, and how can I fix it? I
can send source code if needed. I couldn't find any reference to this
problem in the list archives, at least through search.
A simple hello-world compiled fine to run at the command line, so I'm
fairly sure the compiler is installed properly. I'm using example code
for testing the gui because I'm only starting to learn Windows
programming. (I'm very familiar with C and C++ in unix and dos, and
familiar with visual basic, but not the win32 api yet.)
Jenny Gable
-
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 -