program does not run in Windows 7

I recently wrote a program on my windows xp machine and now want to run in on a windows 7 machine off a network drive. when I try to run it I get the spinning circle for a bit an then it goes away. Think I copied all the files from my xp machine to the network drive. I'm not sure what I am missing or am doing wrong. I have the following includes: window.h, fstream, iostream, cstdio, cstdlib, and string.
I am using
INT WINAPI WinMain(HINSTANCE, hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)

Last edited on
Not sure if this is your problem but do you have the C/C++ Runtime library installed on the Windows 7 machine?
Topic archived. No new replies allowed.