www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



c++ - Issue with running program

↑ ↓ ← tvb2727 <tvb2727 comcast.net> writes:
I compile the program and then I link the program and its
successful. Then when I go to run it with just like testmain on
the command line it has the following error message: testmain.cpp
is not a valid win 32 app. What does this mean? I have compiled
and link other apps and then just put testmain as an ex and it
works and doesn't give that to me. Please help.
Sep 02 2007
↑ ↓ Jan Knepper <jan smartsoft.us> writes:
tvb2727 wrote:
 I compile the program and then I link the program and its
 successful. Then when I go to run it with just like testmain on
 the command line it has the following error message: testmain.cpp
 is not a valid win 32 app. What does this mean? I have compiled
 and link other apps and then just put testmain as an ex and it
 works and doesn't give that to me. Please help.

Try to run the testmain.exe file... :-) -- ManiaC++ Jan Knepper www.janknepper.com But as for me and my household, we shall use Mozilla... www.mozilla.org Get legal - Get OpenOffice.org www.openoffice.org
Sep 02 2007
↑ ↓ %u <tvb2727 comcast.net> writes:
I did that and it still gives me the same error.
Sep 02 2007
↑ ↓ → Jan Knepper <jan smartsoft.us> writes:
%u wrote:
 I did that and it still gives me the same error.

Please copy+paste the steps of what you do... Thanks! Jan -- ManiaC++ Jan Knepper www.janknepper.com But as for me and my household, we shall use Mozilla... www.mozilla.org
Sep 03 2007