Win32 API and MFC in Windows Vista
Is it correct to assume that a native program built on an XP machine (using MFC or the Win32 API directly) will run on Windows Vista? The reason I'm asking is that until .NET becomes as ubiquitous as the Win32 API, I am going to stay away from it as much as possible. If for some reason I do use one of the .NET based libraries, I'll use C++/CLI. In another thread, a poster likened C++/CLI to a freak. Yep, it's ugly, but I tried C# and found that writing each line of C# code was like eating a spoonful of puke. I don't know what it is, but I just can't do C#. At least with C++/CLI, I feel like I'm still handling and caring for my poor, mutilated baby. Fortunately, I have the luxury of choosing my programming languages. Anyway, is my assumption correct, regarding Win32-based native code running on Windows Vista?
Re: Win32 API and MFC in Windows Vista
Quote:
Originally Posted by spiritualfields
Is it correct to assume that a native program built on an XP machine (using MFC or the Win32 API directly) will run on Windows Vista?
Of course. Just make sure you have the correct MFC redistributable installed on the target machine.
Re: Win32 API and MFC in Windows Vista
Quote:
Of course. Just make sure you have the correct MFC redistributable installed on the target machine.
Thanks. My target machine is any PC running windows, from Windows 95 on. Since I won't be upgrading to Vista anytime soon, I wanted to make sure that my apps will run on the machines of customers who have upgraded. For example, I was writing apps "for" XP machines long before I upgraded to XP. In the same way, I want to write apps "for" Vista, though I don't have Vista. I write native desktop apps. To relieve myself of redistribution problems, I statically link my executable, and so don't have to worry about the particular machines that my customers have, only that they are based on the Win32 API.
Re: Win32 API and MFC in Windows Vista
Just be careful if you are browsing the MSDN. A lot of functions are not supported anymore on Windows 95. Before using a Win32 API function, check the minimum requirements since Win95 might not be in the list.
Re: Win32 API and MFC in Windows Vista