Udostępnij za pośrednictwem


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.

Diagnosing STATUS_INVALID_IMAGE_FORMAT (C000007B) Errors

The Symptom There are instances where you may encounter an error message that says something like,...

Date: 09/20/2017

Unable to code sign appx package in Visual Studio: A look at build process and certificate issues.

It all started with issues in code signing. My client was using Signtool to sign his package and...

Date: 12/22/2016

How to get line numbers in your code for specific events, viz., exception?

One of my clients came up with a requirement to track down the line of the code immediately when the...

Date: 04/18/2016

Enumerating all Modules in a Managed Process

I recently helped a developer that needed to enumerate all of the modules in an arbitrary process....

Date: 12/16/2015

Migration from VS2012 to VS2015 IDE only throws compiler upgrade warning

Irfan Ahmed, Senior Support Escalation(Languages EMEA team) brings to us this amazing write up in...

Date: 12/13/2015

Creating user-mode crash dumps on production machine

Prabhat Tandon, Support Escalation Engineer, brings this amazing write up summarising his experience...

Date: 05/18/2015

Tips on troubleshooting Visual Studio Performance issues

Another nice write up from Senior Support Escalation Engineer, Irfan Ahmed on Visual Studio...

Date: 05/18/2015

Login problem with Visual Studio 2013 due to issues with JSON dll

Irfan Ahmed, Senior Support Escalation, brings us his experience while working with one of his...

Date: 05/18/2015

Debugging a linker error: error LNK2019

I am back with one of the classic roadblocks on your way up to development . Linker errors! Well...

Date: 08/27/2014

Issues with the comctl32 V5

Irfan Ahmed, Senior Support Escalation Engineer brings this valuable knowledge to us. Recently, he...

Date: 04/29/2014

Issues in loading the current configuration file by .NET 2.0 application

Irfan Ahmed, Senior Support Escalation Engineer, recently was working on an issue where application...

Date: 04/03/2014

Setting up a custom build environment in Visual Studio to build all your 32 bit and 64 bit vc++ projects .

Recently we were approached by one of our clients regarding a build environment to build both their...

Date: 03/07/2014

Using Msbuild to build Windows Store Application without signing the AppxPackage

The msdn article provides you an efficient way to build your windows store applications using...

Date: 02/17/2014

The Pinvoke Diary: How to send a triple pointer to a native world from c#

We are back again with a new pinvoke scenario. In the recent days I had the opportunity to work with...

Date: 01/16/2014

Visual Studio Debugging issue

Nitin Dhawan, Senior Support Engineer, shares his experience from one of his unique cases which will...

Date: 12/31/2013

A peek into a performance issue of a .net assembely

Performance issues are are quite tricky and might require effort to debug , albeit we have many...

Date: 11/27/2013

The Curious Case of BOOTUP_EXCEPTION_COMPLUS (0xC0020001) with mixed mode

0xC0020001 known as BOOTUP_EXCEPTION_COMPLUS ,you may see an exception with this code, or an HRESULT...

Date: 10/02/2013

Using Tracking Reference to Pass array<> by Reference to a Native Class Method in C++/CLI

I was recently working with a .Net Application Developer who had a requirement to pass an...

Date: 09/30/2013

Remote Debugging managed applications in VS 2012- managing symbols

Following write up is from Prabhat Tandon, Support Escalation Engineer, confirmed and approved by...

Date: 09/25/2013

MFC application crashes in Windows 8 touch Devices.

Recently we had a chance to debug an issue where an application was only crashing in Windows 8 Touch...

Date: 08/08/2013

Switching between CMFCRibbonBar based Ribbon interface and CMFCMenuBar/CMFCToolBar based interface on-the-fly

Download sample project - MFCRibbonToolBarDemo Since the advent of MFC Feature Pack, Ribbon bar...

Date: 07/10/2013

The Pinvoke Diary:How do we send a string to the native world and how do we receive a string back

More often than not we have scenarios where our application would be based on .net, we would have to...

Date: 07/03/2013

Mixed Mode MFC Application may fail with ASSERTION when individual files are compiled with /clr switch

Some time back we were working with a developer who was running into a mysterious ASSERTION failure...

Date: 03/30/2013

Painting Issues In MFC MDI applications on Windows 7 Boxes

You may see painting issues with MFC MDI Office Style Applications when resizing or moving the...

Date: 03/30/2013

How to load 2 dlls with same name but different versions

From the title it might seem that the easiest way to do this is by using Loadlibrary. However on...

Date: 03/20/2013

‘AlwaysCreate’ forces project to be re-built

Issue Have you lost time because Visual Studio always thought that a project was out-of-date?...

Date: 03/12/2013

Usage of .NET Collections types in VBScript is not supported after .NET 4.5

While working with a customer, we came across a change in .NET 4.5 around usability of .NET...

Date: 03/04/2013

Finding Assemblies based on the .net runtime version it targets

Recently had a customer who had this requirement to find all .net assemblies which targets .net...

Date: 02/13/2013

MFC app main window activation/deactivation painting issue

To reproduce this issue please follow these steps… Enable a non-Aero theme like Windows 7 Basic...

Date: 01/29/2013

JIT Debugging using Visual Studio may fail when trying to debug a Session 0 Process on Windows 8

When you try to JIT debug a Session 0 process (like a windows service) on Windows 8 using Visual...

Date: 12/30/2012

Unexpected Out of Memory Exception in .Net 4.5 Applications that uses Custom Stack Commit Size

Recently I worked with a developer who was seeing an Unexpected Out of Memory Exception from his...

Date: 12/30/2012

VC++ application fails with R6034 "An application has made an attempt to load the C runtime library incorrectly."

Visual C++ application fails with the runtime error R6034 "An application has made an attempt to...

Date: 12/27/2012

Windows RT Store app Debugging

Windows RT devices are now available so I thought I’d do a few posts on debugging tools for Windows...

Date: 10/25/2012

System.MissingMethodException – Bad profiler changing the method name

Usually System.MissingMethodException exception is thrown when there is an attempt to dynamically...

Date: 10/17/2012

FormView in MDI Tabbed Style MFC Application doesn’t restore Cursor Focus Correctly on the Reactivation of Tabs

  If you find In an MFC Tabbed Application with a FormView,  the cursor focus switches to...

Date: 10/08/2012

CMDIFrameWndEx::EnableMDITabsLastActiveActivation() does not work as expected in MDI Tabbed Style Application

  Recently I worked with a developer who was developing an MDI Tabbed Style MFC...

Date: 10/08/2012

Making sense out of a nonsensical call stack

Recently a colleague wrote an application which on purpose caused an access violation. He took a...

Date: 10/08/2012

.Net framework Error Message in the event log ambiguity

Following blog post has been written by EMEA Technical Lead Irfan Ahmed You see the following Error...

Date: 06/07/2012

Runtime binding in VC++ 2008 SP1

As George has mentioned in his blog, the VC++ Runtime binding has been changed since VC++ 2008 SP1....

Date: 05/21/2012

MSBuild tracing using MSBUILDDEBUGCOMM

[This blog was written by my colleague: Prabhat Tandon] We know that building in parallel feature is...

Date: 03/22/2012

AfxBeginThread fails to create thread on Windows XP

How can AfxBeginThread fail when there are plenty of resources available and the application is a...

Date: 03/15/2012

Having common intermediate directory causes all project targets to be deleted

While debugging one of my customers’ scenarios, we came across an interesting issue were if we...

Date: 02/29/2012

Output from Exec task resulting in build failure

[Notice: This blog is based on Visual Studio 2010 SP1] One of our customers sometime back came to us...

Date: 02/28/2012

Why autoexp.dat data visualizer entries are ignored at times

We had a customer who had issues with autoexp.dat. He added few data visualizers in autoexp.dat file...

Date: 02/09/2012

Debugging a crash due to heavy floating point operations

There are several scenarios where a program including .NET applications perform a huge amount of...

Date: 01/13/2012

Next>