re: How to make shortcut run correctly!
Friday, April 7, 2006 at 12:20 am Windows XP Annoyances Discussion Forum
Posted by Thanhbinh
(6 messages posted)
Thank you very much!
But I think I should tell my problem more clearly.Don't care about the app I have,
only care about this:
the prgram written in VC++(type Win 32 Console):
mypro.cpp
#include "stdafx.h"
#include "conio.h"
int main(int argc, char* argv[])
{
int n;
printf("Hello World!\n");
scanf("%d",&n);
printf("%d",n);
getch();
return 0;
}
I make a shortcut to mypro.exe(in Debug)
run the shortcut from cmd (run the .lnk from cmd)
You will see the difference between run mypro.exe and run the shortcut, both from
cmd.What's reason??????
Why are they different.What make the difference.
The problem I have when I write my application is maybe the same.If you can answer
the question above, I can solve my problem.
|
All messages in this thread [show all]
 |  |  |  |  |  |  |  |  | re: How to make shortcut run correctly! (Thanhbinh: Fri, Apr 7, 2006, 12:20 am) |
| |
| |
Return to the Windows XP Discussion Forum
|
|