>I'm using Visual studio 2003 on Windows XP Pro. I have an unmanaged c++
program. I'm tring to generate just one exe file that can run on all
the windows operating system. How can I do it?
Larry,
The key is to ensure you're not dependent on any OS facilities that
the lesser OS's don't have.
Have a look in your MSDN documentation on the WINVER preprocessor
symbol. If you define that you can (hopefully) set the base OS your
project supports.
You may also find it advantageous (if not essential) to build your
project with the 'C' run-time libraries statically linked.
The depends utility will help you identify if you have any missing
dependencies too.
Dave