As my C++ book tells me C++ programs can only be used on the specific CPU and OS you compiled it on but yet I made a few programs and sent them around to my friends and they work fine >.<
Most likely (if you compiled for x86 (aka 32-bit)). Although I heard Windows 7 supports ARM now (or is supposed to sometime in the future), so your program wouldn't run on an ARM machine, even if it runs Windows.