Hi all,
i've written and compiled a console app.
It's running on my machines - no prob.
But when i try to start it on my friends system i get:
"program cannot be run in DOS mode"
I'm using intel based win machines. He's got an AMD system.
Maybe it's not compiled correctly for AMD ?
My compiler runs with the defaults. Do i have to tell the compiler to generate a binary that will run on AMD & Intel ? Or is it a 32/64 bit problem ?
Any ideas anyone ?
program cannot be run in DOS mode ?
-
mhgschmidt
- New User

- Posts: 9
- Joined: Sun Jan 18, 2004 3:19 pm
- Location: Germany
program cannot be run in DOS mode ?
Michael H.G. Schmidt
Re: program cannot be run in DOS mode ?
Console <> DOS.
Sounds like he is trying to run it from DOS, rather than from within Windows.
This is not what a console program does. To run from DOS, he needs an app
that creates true DOS executables, which PureBasic does not.
Sounds like he is trying to run it from DOS, rather than from within Windows.
This is not what a console program does. To run from DOS, he needs an app
that creates true DOS executables, which PureBasic does not.
- Fluid Byte
- Addict

- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
-
mhgschmidt
- New User

- Posts: 9
- Joined: Sun Jan 18, 2004 3:19 pm
- Location: Germany
Trond wrote:It sounds to me like the file is corrupted. Did you transfer it via FTP without using binary transfer mode?
Thanks for the help.
Michael H.G. Schmidt

