Sign In
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.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
.NET Troubleshooting
/Stack
AfxBeginThread
ATL
Authenticode
autoexp.dat
CreateThread
CRT
Custom Configuration File
Editbin
Feature Pack
fusion
Intermediate Directory
MFC
MSBuild
MSBUILDDEBUGCOMM
PInvoke
rebuild
STL
SxS
TDLOG
VC++
VS2008
VS2010
VS2010 debugging
Archive
Archives
May 2012
(1)
March 2012
(3)
February 2012
(2)
January 2012
(1)
July 2010
(2)
June 2010
(2)
May 2010
(2)
March 2010
(1)
February 2010
(2)
January 2010
(1)
December 2009
(3)
November 2009
(1)
September 2009
(2)
July 2009
(1)
June 2009
(5)
February 2009
(5)
January 2009
(2)
November 2008
(2)
September 2008
(1)
August 2008
(2)
June 2008
(4)
MSDN Blogs
>
Developer Support Languages - VC++, C# and VB.NET
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Developer Support Languages - VC++, C# and VB.NET
Runtime binding in VC++ 2008 SP1
Posted
14 days ago
by
Nitish Nagpal
0
Comments
As George has mentioned in his blog , the VC++ Runtime binding has been changed since VC++ 2008 SP1. Now by default the manifest contains a reference to the RTM version of CRT. The msdn article has a section How to Bind to Specific Versions which states...
Developer Support Languages - VC++, C# and VB.NET
MSBuild tracing using MSBUILDDEBUGCOMM
Posted
2 months ago
by
Nibu Thomas
0
Comments
[This blog was written by my colleague: Prabhat Tandon] We know that building in parallel feature is not new in MSBuild. Here is how it works. When we start a build using IDE/command-line options, the first instance or the parent MSBuild instance...
Developer Support Languages - VC++, C# and VB.NET
AfxBeginThread fails to create thread on Windows XP
Posted
2 months ago
by
Nibu Thomas
0
Comments
How can AfxBeginThread fail when there are plenty of resources available and the application is a multi threaded one. That's what I thought when I saw this issue from a customer. I went and read the documentation for AfxBeginThread and I didn't see anything...
Developer Support Languages - VC++, C# and VB.NET
Having common intermediate directory causes all project targets to be deleted
Posted
3 months ago
by
Ganesh Shankaran
0
Comments
While debugging one of my customers’ scenarios, we came across an interesting issue were if we ‘ rebuild’ the application we get a warning for a missing file, and for the same application when we ‘ build ’ everything works...
Developer Support Languages - VC++, C# and VB.NET
Output from Exec task resulting in build failure
Posted
3 months ago
by
Nibu Thomas
0
Comments
[Notice: This blog is based on Visual Studio 2010 SP1] One of our customers sometime back came to us with a strange issue. They were facing the following error as shown in below screenshot… The source of the error was from an MSBuild task...
Developer Support Languages - VC++, C# and VB.NET
Why autoexp.dat data visualizer entries are ignored at times
Posted
3 months ago
by
Nibu Thomas
2
Comments
We had a customer who had issues with autoexp.dat. He added few data visualizers in autoexp.dat file but somehow none of them took effect in the debugger windows like Autos, Locals, etc. We initially thought the issue is with the way he gave format specifier...
Developer Support Languages - VC++, C# and VB.NET
Debugging a crash due to heavy floating point operations
Posted
4 months ago
by
Sagar B. Joshi
0
Comments
There are several scenarios where a program including .NET applications perform a huge amount of floating point operations. In .NET Applications, operations like adding floating point numbers, Double.Equals() , etc. are good examples of floating point...
Developer Support Languages - VC++, C# and VB.NET
Using context sensitive help for submenu items within an MFC Feature Pack application
Posted
over 2 years ago
by
Gaurav Patole
0
Comments
You create a sample MFC feature pack based SDI/MDI application with context sensitive help support. However, the context sensitive help may not work with submenu items. This blog attempts to get this working. Figure 1: Context sensitive help for...
Developer Support Languages - VC++, C# and VB.NET
Targeting the .NET 2 Framework when using AssemblyBuilder under .NET 4
Posted
over 2 years ago
by
Steve Horne
0
Comments
When you use the Reflection.Emit classes to generate a dynamic assembly, the targeted framework for the assembly will be the version of the framework under which you are running the code that generates the dynamic assembly. For instance, you can create...
Developer Support Languages - VC++, C# and VB.NET
C++ class data members not getting correctly initialized due to unbalanced #pragma pack alignment
Posted
over 2 years ago
by
Gaurav Patole
0
Comments
Sometime back we saw an odd behavior in which C++ class data members were not getting correctly initialized due to memory corruption. It was discovered that this memory corruption was due to an unbalanced #pragma pack data alignment. In our case, this...
Developer Support Languages - VC++, C# and VB.NET
VS2010 : Unable to Hit Breakpoints in Managed Code
Posted
over 2 years ago
by
Steve Horne
4
Comments
In Visual Studio 2010, if you are debugging a native executable which in turn loads a managed DLL built against a version of the framework previous to version 4, you may find that breakpoints which are set in the managed code are not hit. The breakpoints...
Developer Support Languages - VC++, C# and VB.NET
The "GenerateResource" Task Failed Unexpectedly : Unable to load FileTracker.dll
Posted
over 2 years ago
by
Steve Horne
6
Comments
When building a project in Visual Studio 2010 that contains a .resx file, you may receive the following build error: The "GenerateResource" task failed unexpectedly. System.DllNotFoundException: Unable to load DLL 'FileTracker.dll': A dynamic link...
Developer Support Languages - VC++, C# and VB.NET
Why do we get System.InvalidCastException when we read through custom Configuration file?
Posted
over 2 years ago
by
ganeshatmicrosoft
0
Comments
A developer’s life becomes a lot easier by using configuration files. Configuration files, being XML files, can be changed as needed and developers can use configuration files to change settings without recompiling applications. Administrators can use...
Developer Support Languages - VC++, C# and VB.NET
IntelliTrace
Posted
over 2 years ago
by
mjawa
0
Comments
1. Introduction 2. How it works : a. Events and Call Information b. Recordings - iTrace file c. Capturing Events d. Specify modules e. Intellitrace Window f. Navigation Bar g. Running the trace file 3. Tips...
Developer Support Languages - VC++, C# and VB.NET
Adding a Configuration file for a VC++ DLL
Posted
over 2 years ago
by
mjawa
1
Comments
Background A VC++ application will fail to run if the required Visual C++ runtime libraries are not present on the target operating system (machine). It’s the manifest of the executable used by the operating system loader to load assemblies that...
Developer Support Languages - VC++, C# and VB.NET
MFC Feature pack and desktop composition issue
Posted
over 2 years ago
by
ganeshatmicrosoft
0
Comments
MFC Feature pack application makes it possible to mimic the look and feel of office and outlook, however, when it comes to customization, well, one has to make a few changes to the application to get the desired result. Problem I came across...
Developer Support Languages - VC++, C# and VB.NET
Removing the Frame Caption when Using CMFCVisualManagerOffice2007
Posted
over 2 years ago
by
ScotBren
5
Comments
When BCGSoft created the classes that Microsoft incorporated as the “MFC Feature Pack” in VS 2008 (and included in SP1), it seems their primary intent was to provide a nearly hands-free implementation of several popularly-requested user interface features...
Developer Support Languages - VC++, C# and VB.NET
Investigating a GSCookie Corruption
Posted
over 3 years ago
by
mjawa
0
Comments
GSCookie helps in finding buffer overrun cases on the stack and terminates the application when this is detected. In the .NET environment this would happen when calling into a native function when the function overrides the buffer on the stack corrupting...
Developer Support Languages - VC++, C# and VB.NET
Troubleshooting MFC state related issues
Posted
over 3 years ago
by
mjawa
1
Comments
In this article we will be talking about MFC Module state and Thread state , and how do we troubleshoot issues related to Module state mismatch. Why MFC dll does needs a module-specific state? Well reason is MFC is a shared dll, it needs to be shared...
Developer Support Languages - VC++, C# and VB.NET
The Cup-Stacker Prince (Multi-threading Made Easy, and a little bit strange)
Posted
over 3 years ago
by
rlacas
0
Comments
Computers are not intuitive; they can predict the future perhaps, but they cannot paint magic doors through the boundaries of traditional logic - at least not yet. Imagine, if you will, a cup-stacking champion during his or her early life. How does one...
Developer Support Languages - VC++, C# and VB.NET
P/Invoke Marshal.StructuretoPtr
Posted
over 3 years ago
by
mjawa
5
Comments
In this blog I am going to talk about Marshal.StructuretoPtr , especially its last parameter fDeleteOld. Although its msdn description is pretty concise but I have seen it to be a source of confusion a lot of times. Following is what it says: fDeleteOld...
Developer Support Languages - VC++, C# and VB.NET
.NET-BroadcastEventWindow causing BOOTUP_EXCEPTION_COMPLUS during application shutdown
Posted
over 3 years ago
by
chancha
2
Comments
This is one of the interesting scenario in which an unmanaged application built with Non-Microsoft technology was crashing during application shutdown with BOOTUP_EXCEPTION_COMPLUS exception (c0020001). This unmanaged application happened to be using...
Developer Support Languages - VC++, C# and VB.NET
FAQ: MS09-035 ATL Security Update For Visual Studio 2003/2005 SP1/2008 RTM/2008 SP1
Posted
over 3 years ago
by
Ravi Avanaganti
0
Comments
1. How do I know which dll/control needs to be rebuilt? Please check the guidelines to understand if your dll/control could be affected or not. Installing the Visual Studio ATL Security patch and rebuilding the binaries alone will not mitigate the...
Developer Support Languages - VC++, C# and VB.NET
How to handle chevron button using CToolBarCtrl object?
Posted
over 3 years ago
by
Ravi Avanaganti
2
Comments
Most of the developers work with CToolBarCtrl but they get stuck when it comes to display chevron button. This article is all about how to get chevron button displayed on CToolBarCtrl control while resizing its content window. There is a good MSDN...
Developer Support Languages - VC++, C# and VB.NET
VC++ Intellisense
Posted
over 3 years ago
by
Prabhatyash
0
Comments
Internal Mechanism Internally the Visual Studio IDE interacts with editor and the language parsers to create a list of tokens that are updated frequently. In this process the background threads continuously update the Intellisense database. The priority...
Page 1 of 2 (45 items)
1
2