[Help] Keywords: executable program execution prompts another computer is not a valid win32 application

Category: C/C++ -> Design Patterns Author: violalee1984 Date: 2005-10-08 20:04:04
 
violalee1984
2005-10-08 20:04:04
I made a simple program features are: Enter the year, month, day, calculate the day of the year in the first few days, I put this program. Exe executable file distributed another man after he opened the program will display (see Figure)
This is how to deal with? I want him to run my program.

Another thought question: If he runs my program success and his computer has both the compiler whether a relationship exists?
zhouqiongyang
2005-10-08 20:13:49
if (argc <2) {
printf ("Usage:% s \ "DateTimeStr \" \ n ", argv [0]);
return 2;
;}
if (t.ParseDateTime (argv [1])) {
amethyst_cj
2005-10-08 20:20:27
and compiler exists no relationship, looking at you computer model so what
w3ory1
2005-10-08 20:39:12
damage it? !
cuike11
2005-10-08 20:42:57
Debug version of it
su860214
2005-10-08 21:02:56
yes yes Debug files, then this is how to solve my Problem?
cozydot
2005-10-08 21:20:45
What damage? No ah
liudunli_001
2005-10-08 21:54:13
COleDateTime
COleDateTimeSpan

dependence with depends.exe View exe dll, then the dll and exe in the same directory.
as627306480
2005-10-08 22:17:14

COleDateTime
COleDateTimeSpan
these two things I found online a search to explain completely unable to read.
depends.exe Where is this?
opopoppo
2005-10-08 22:48:28
you find your program following Relese folder (if it does not, you will be able to generate the selection relese run files), this folder exe program not issued to him will appear above situation, this is necessary because the debug version of the dll not packaged
wednes
2005-10-08 23:20:08

relese the where to find this?
wy276970376
2005-10-08 23:58:47
landlord, I ask, how do you build this program?
cui_zongfang
2005-10-09 00:33:16


Click Generate program address here C: \ Users \ Administrator \ Documents \ Visual Studio 2012 \ Projects \ Hou \ Debug
miaomiao850205
2005-10-09 00:52:12
what compiler you use?
your friend's computer operating system, then what is?
lc30059733
2005-10-09 01:07:26
is not your compiler: VS2012, running Windows xp?
dhfah123
2005-10-09 01:32:06
I use a vs2012 its operating system is

I using vs2012 his thing 32 XP system
txx955126
2005-10-09 01:57:02
First, the landlord, some say because the compiler mode upstairs answer is wrong, first: DLL missing prompted not so second, the compiler mode setting debug mode is that it will add debugging information in the program, but does not cause the program to fail to start, but because of the PE file header has the lowest execution environment option, so please tell me your compiler version and the execution environment.
s080697108
2005-10-09 02:12:40
Sure enough, VS2012 xp system seems to be not executed, only in Windows 7 and Windows 8 systems running
henji121
2005-10-09 02:28:31

compiler version: VS2012 ultimate
execution environment: win 7 32
konxj
2005-10-09 02:46:56

my execution environment is win 7 he used operating system is xp I think this question and his operating system does not matter

Page 1 of 2    «  »