News for hackers. Stuff that matters.
Re:Visual Studio 11 Beta released by ComputerGuru on Wednesday February 29, 2012 @10:57AM (#3648270)
I haven't downloaded it yet, but I assume you're referring to the same limitation VS2010 (w/ the latest SPs) had with exes not running on Windows XP.

Assuming it's the same, then adding this ASM file to your project should solve the problem:

https://github.com/NeoSmart/UtfRedirect/blob/master/UtfRedir...

Re:Visual Studio 11 Beta released by acqq on Wednesday February 29, 2012 @10:59AM (#3648281)
No, executables made with Visual Studio 2010 run on Windows XP SP3. They don't run on Windows 2000. See:

http://tedwvc.wordpress.com/2010/11/07/how-to-get-visual-c-2...

There is an in-depth overview of all the things MSFT have removed to prevent the compiled executables from running on Windows 2000. These things still existed in VS 2008, it's not that they had to develop them.

Re:Visual Studio 11 Beta released by ComputerGuru on Wednesday February 29, 2012 @11:04AM (#3648305)
Re:Visual Studio 11 Beta released by acqq on Wednesday February 29, 2012 @11:13AM (#3648333)
Reading comprehension needed:

Me: "Executables made with Visual Studio 2010 run on Windows XP SP3."

You: post the link to the article titled "Executables built with Visual C++ 2010 do not run on Windows XP prior to SP2"

Note the SP numbers and the word "prior" please. Anyway, I know what I write since I have to support Windows 2000 for the projects I'm involved and I have to use Visual Studio 2008 for that. Do you compile any native executables for Windows platforms?

Re:Visual Studio 11 Beta released by ComputerGuru on Wednesday February 29, 2012 @11:20AM (#3648360)
I did not see the "SP3" there when I replied, but I'll give you the benefit of the doubt. And I'm going to ignore your personal attacks and insults.

Regardless, "No, executables made with Visual Studio 2010 run on Windows XP SP3. They don't run on Windows 2000" and "No, executables made with Visual Studio 2010 run on Windows XP SP3. They don't run on Windows XP SP2" are entirely different statements.

Re:Visual Studio 11 Beta released by roel_v on Wednesday February 29, 2012 @11:00AM (#3648287)
Nope. The Visual Studio 11 CRT does not run on anything below Windows Vista because it relies on API's that were only introduced then. You cannot write applications that run on Windows XP with Visual Studio 11.

This is such a bone-headed move I can't believe where that came from. They can't be out of touch that much. I guess people with existing code bases don't have any options anyway, so they though this would be a nice 'incentive' for vendors to pester users into upgrading to new Windows versions.

Very disappointing.

Re:Visual Studio 11 Beta released by Ecio78 on Wednesday February 29, 2012 @11:04AM (#3648310)
I think it's talkin about this:

"This behavior is by design in MFC and CRT for Visual Studio vNext. The minimum supported operating systems are Windows Server 2008 SP2 and Windows Vista. Windows XP is not a supported operating system for the release (design-time or run-time)."

source: https://connect.microsoft.com/VisualStudio/feedback/details/... taken from: http://stackoverflow.com/questions/7702463/what-is-special-a...

Re:Visual Studio 11 Beta released by recoiledsnake on Wednesday February 29, 2012 @11:38AM (#3648451)
Why not just use Visual Studio 2008 or 2010? XP is a drag on new development paradigms and practices they want to get rid of.
Re:Visual Studio 11 Beta released by coffeeaddicted on Wednesday February 29, 2012 @12:01PM (#3648573)
Sure, using an old VS is the obvious workaround, but that doesn't really make VS 2011 better. And well - good for them if they can afford to just cut old ties, unfortunately many of us don't have that luxury. I thought market of XP is down to 20-30% by now and falling (but maybe that's only true for typical gaming systems), but that's still a rather big market share to ignore for now.
Re:Visual Studio 11 Beta released by acqq on Wednesday February 29, 2012 @02:10PM (#3649178)
I've just did some calculations: if there have been around 1 billion PC's in 2008

http://www.worldometers.info/computers/

and there should be 2 billions in 2015, let's assume there's at least 1.4 billion PC's at the moment now. Even if XP has just 25% percent of that, it's 350 million of PC's in the world on which the executable built with VS 11 can't work.

Re:Visual Studio 11 Beta released by socially-distnt on Thursday March 01, 2012 @09:48AM (#3652238)
to me that sounds like a market waiting to be developed: some enterprising (get it?) coder can cook up an IDE and compiler and target the XP market.
Re:Visual Studio 11 Beta released by acqq on Wednesday February 29, 2012 @12:19PM (#3648656)
They actually prevent you to use some elementary standard C++ constructs which are in newer VS but not in VS 2008. I hope you understand that you'd be able to write the same standard C++ code independently of the XP or Windows 7 had MSFT not removed some previously existing code sections from the DLL's linked with VS 11.

Yes I believe you're right when you say: "new development paradigms and practices they want to get rid of" even if it is a Freudian slip.