just created and compiled a simple "Hello world" in C in Visual Studio 2013 for testing purpose as some service I wrote didn't work on a Windows XP machine (yes I know it's ultra old, never mind).
So I thought I'd test with "hello world". I know that I need to select a Windows XP compatible environment in the General Settings of the Visual Studio project, done that. Tried MT and MD, so static or dynamic. Both gives me the same result: Nothing. Just a blank command line. I don't get it.
Any ideas what might be missing? I'm afraid I don't have full access on the XP system, just a command line shell, that's it. But I guess that wouldn't make a real difference.
I tried other command line tools which tend to work just fine, just my own compiled ones do nothing. Source code, just so noone asks ;-)
#include <stdio.h>
#include <Windows.h>
int main(int argc, char *argv[])
{
printf("Hello World\n");
return 0;
}
Hm...aaaannoying:-)
Aucun commentaire:
Enregistrer un commentaire