Developer Support Languages - VC++, C# and VB.NET
Welcome to Microsoft Developer Support, Languages team blog! You will find a lot of language related troubleshooting resources here.
Using context sensitive help for submenu items within an MFC Feature Pack application
You create a sample MFC feature pack based SDI/MDI application with context sensitive help support....
Author: Gaurav Patole Date: 07/21/2010
Targeting the .NET 2 Framework when using AssemblyBuilder under .NET 4
When you use the Reflection.Emit classes to generate a dynamic assembly, the targeted framework for...
Author: Steve Horne Date: 07/01/2010
C++ class data members not getting correctly initialized due to unbalanced #pragma pack alignment
Sometime back we saw an odd behavior in which C++ class data members were not getting correctly...
Author: Gaurav Patole Date: 06/16/2010
VS2010 : Unable to Hit Breakpoints in Managed Code
In Visual Studio 2010, if you are debugging a native executable which in turn loads a managed DLL...
Author: Steve Horne Date: 06/15/2010
The "GenerateResource" Task Failed Unexpectedly : Unable to load FileTracker.dll
When building a project in Visual Studio 2010 that contains a .resx file, you may receive the...
Author: Steve Horne Date: 05/27/2010
Why do we get System.InvalidCastException when we read through custom Configuration file?
A developer’s life becomes a lot easier by using configuration files. Configuration files, being XML...
Author: ganeshatmicrosoft Date: 05/03/2010
IntelliTrace
- Introduction 2. How it works : a. Events and Call Information b. Recordings - iTrace file c....
Author: mjawa Date: 03/01/2010
Adding a Configuration file for a VC++ DLL
Background A VC++ application will fail to run if the required Visual C++ runtime libraries are not...
Author: mjawa Date: 02/22/2010
MFC Feature pack and desktop composition issue
MFC Feature pack application makes it possible to mimic the look and feel of office and outlook,...
Author: ganeshatmicrosoft Date: 02/19/2010
Investigating a GSCookie Corruption
GSCookie helps in finding buffer overrun cases on the stack and terminates the application when this...
Author: mjawa Date: 12/28/2009
The Cup-Stacker Prince (Multi-threading Made Easy, and a little bit strange)
Computers are not intuitive; they can predict the future perhaps, but they cannot paint magic doors...
Author: rlacas Date: 12/10/2009
P/Invoke Marshal.StructuretoPtr
In this blog I am going to talk about Marshal.StructuretoPtr , especially its last parameter...
Author: mjawa Date: 11/01/2009
.NET-BroadcastEventWindow causing BOOTUP_EXCEPTION_COMPLUS during application shutdown
This is one of the interesting scenario in which an unmanaged application built with Non-Microsoft...
Author: chancha Date: 09/19/2009
FAQ: MS09-035 ATL Security Update For Visual Studio 2003/2005 SP1/2008 RTM/2008 SP1
- How do I know which dll/control needs to be rebuilt? Please check the guidelines to understand if...
Author: Ravi Avanaganti Date: 09/14/2009
How to handle chevron button using CToolBarCtrl object?
Most of the developers work with CToolBarCtrl but they get stuck when it comes to display chevron...
Author: Ravi Avanaganti Date: 07/02/2009
Floating point exception in managed code results in Access Violation crash
Suppose you are calling some native code from your managed code, and you observe an Access Violation...
Author: Bhupendra Date: 06/24/2009
Why AfxGetThread() returns NULL in AfxWinMain()?
Recently I worked with one of my colleague on an interesting scenario in which the MFC application...
Author: Gaurav Patole Date: 06/21/2009
Troubleshooting "Not a valid win32 Application" error at the startup.
Recently, we came across a very interesting issue. A purely native application written in C++ was...
Author: Ravi Kumar Date: 06/19/2009
Marshalling Complicated Structures using PInvoke
This article talks about marshaling structures using PInvoke which has a pointer to an array of...
Author: Jyoti Patel Date: 02/18/2009
Troubleshooting Manifest-Related Issues
After migrating to Visual Studio 2008 SP1 and building the application, the manifest file of...
Author: Jyoti Patel Date: 02/18/2009
Sort function of STL Gives Unexpected Output when Vector is a Type Derived from _com_ptr_t
C++ code which contains an STL vector containing types derived from the_com_ptr_t COM smart pointer...
Author: Jyoti Patel Date: 02/05/2009
Troubleshooting CRT heap corruption
This article focuses on troubleshooting a heap corruption caused by writing into the next allocated...
Author: Ravi Avanaganti Date: 02/05/2009
Robots are back!
Robots will soon be in action moving around you, to make your life easier. This is not the tagline...
Author: Gaurav Patole Date: 01/08/2009
A chalktalk on .NET troubleshooting at Vitual Tech Days
This was my yet another venture with Microsoft Evangelism team. I was invited as the Speaker on .NET...
Author: chancha Date: 01/07/2009
The developer's toolkit for .NET: Part II: Cold Startup time
- Application slow to load: Scenario: “Our application takes too long to load for the first time....
Author: chancha Date: 11/12/2008
The developer's toolkit for .NET: Part I : FileNotFoundException
Recently I had been to couple of places on behalf of Microsoft DPE (Developer & Platform...
Author: chancha Date: 11/11/2008
Stack Corruption: Calling convention mismatch
Stack is one of the most widely understood data structures in computer science. It is a general...
Author: mjawa Date: 09/03/2008
Part 2: Troubleshooting VC++ Side by Side Problems
Troubleshooting side by side problems is not a challenging task unless you break the basic checks...
Author: Gaurav Patole Date: 08/07/2008
Part 1: Troubleshooting VC++ Side by Side Problems
Let’s go back to the older days, when code sharing was an integral decision taken by application...
Author: Gaurav Patole Date: 08/07/2008
X86,x64,IA64,Any CPU
When a managed application is built on Visual Studio , we get four options to choose for a platform...
Author: mjawa Date: 06/27/2008
Troubleshooting when two modules share different copy of CRT
You may run into the problem, while upgrading from lower CRT to higher CRT version or when you mix...
Author: Ravi Kumar Date: 06/16/2008