Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 05, 2006 Invalid Win32 Application - Error.jpg | ||||
---|---|---|---|---|
| ||||
Attachments: | I am getting Invalid Win32 Application for some EXEs when I compile all of the samples with "shell all.sh". Some of them run, some of them do not. I am running Windows 2000 Professional. Here are my environment valiables: PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\QuickTim e\QTSystem\;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\GnuWin32\ bin;C:\Program Files\Nmap;C:\dm\bin;C:\dmd\bin LINKCMD=C:\dm\bin\link.exe LIB=C:\dmd\lib;C:\dm\lib Anyone have any idea what is wrong? Thanks |
April 05, 2006 Re: Invalid Win32 Application - Error.jpg | ||||
---|---|---|---|---|
| ||||
Posted in reply to kurzweil444 | kurzweil444@hotmail.com wrote: > I am getting Invalid Win32 Application for some EXEs when I compile all of the > samples with "shell all.sh". Some of them run, some of them do not. I am running > Windows 2000 Professional. Here are my environment valiables: > > PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\QuickTim > e\QTSystem\;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\GnuWin32\ > bin;C:\Program Files\Nmap;C:\dm\bin;C:\dmd\bin > > LINKCMD=C:\dm\bin\link.exe > > LIB=C:\dmd\lib;C:\dm\lib > > Anyone have any idea what is wrong? > > Thanks > > > > The .jpg you attached to your message is a generic messagebox for a corrupt .exe file. Did you see any error statement on the command line? (You might need to add a "pause" command to get the command line window to stick around.) -- jcc7 |
April 05, 2006 Re: Invalid Win32 Application - Error.jpg | ||||
---|---|---|---|---|
| ||||
Posted in reply to kurzweil444 | kurzweil444@hotmail.com wrote:
> I am getting Invalid Win32 Application for some EXEs when I compile all of the
> samples with "shell all.sh". Some of them run, some of them do not. I am running
> Windows 2000 Professional. Here are my environment valiables:
>
> Anyone have any idea what is wrong?
I've noticed that I still ended up with an .exe file even after link errors. So I bet something did not get linked in correctly.
L.
|
April 05, 2006 Re: Invalid Win32 Application - Error.jpg | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lionello Lunesu | Lionello Lunesu wrote:
> kurzweil444@hotmail.com wrote:
>> I am getting Invalid Win32 Application for some EXEs when I compile all of the
>> samples with "shell all.sh". Some of them run, some of them do not. I am running
>> Windows 2000 Professional. Here are my environment valiables:
>>
>> Anyone have any idea what is wrong?
>
> I've noticed that I still ended up with an .exe file even after link errors. So I bet something did not get linked in correctly.
>
> L.
linker switch /DE removes invalid executables
|
Copyright © 1999-2021 by the D Language Foundation