VS2012

UPDATE: for an updated version of this demo, using C++ REST SDK 2.10 see this blog post. In my previous post I shown how you can build a C++ application with the C++ REST SDK that fetches search results from a search engine. In this post, I will go a step further and develop a…

Read More Full-fledged client-server example with C++ REST SDK 1.1.0

I was writing recently about an MFC bug in CDatabase class in Visual Studio 2012. In the meanwhile I have stumbled upon an even greater bug (check this report on Connect for the details): when the OpenEx function fails (wrong credentials, service not reachable, machine is shot down etc.) it corrupts memory. What happen next…

Read More Second CDatabase bug in MFC in Visual Studio 2012

Problem I have recently migrated a C# 2.0 project registered for COM interop to .NET 4.5 and when I imported the type library in a C++ project with no_registry, suddenly I got some errors because the type library could not be imported. Here are the steps to reproduce: create a .NET Class Library project and…

Read More error C3510: cannot locate dependent type library ” {bed7f4ea-1a96-11d2-8f08-00a0c9a6186d} v.2.4

After migrating an MFC application from Visual Studio 2008 to Visual Studio 2012 I run into an unexpected error: the application was having problem fetching data from the SQL Server database. After debugging it turned out that function CDatabase::GetConnect that I was using to retrieve the connection string after opening the database (for different purposes)…

Read More CDatabase bug in MFC in VS2012

Microsoft has made available the release candidates for the new Windows and the new Visual Studio tool set. Some of the products have been renamed: Windows Server 2012 is the new name for Windows 8 “Server” Visual Studio 2012 is the new name for Visual Studio 11 MSDN subscribers can download them from their account.…

Read More Windows 8, Windows Server 2012 and Visual Studio 2012