The Visual C++ compiler has a myriad of great features to build robust and high-quality software. A good example of this could be _CrtDumpMemoryLeaks function that allows to detect any memory leaks that has occurred in the debug heap. There is an entire section on debugging native code here. The results produced by the function […]
Easy and convenient way to convert Wide Characters to Multibyte with modern C++
One of the most common tasks we developers have to do comes in the form of data conversion. A good example would be converting void* (equivalent of Object in .NET) to a specific pointer of a different class through reinterpret_cast, this is however one example. Today’s post is about converting strings as Wide Characters to […]
Some tools that every Visual C++ / .NET developer should have in their toolbox
Hi Community, This post is about some of the tools I use when building stuff or diagnosing misbehaving applications, so I thought it’d come handy to have them, or learn about them [in case you don’t know them] Process Explorer Process Monitor Visual SOS Extension – It’s also documented here DebugView Autoruns WinDBG PerfView DebugDiag […]
Native Windows Service Example
Hi Community, This blog post describes and explains the steps required to build a native Windows Service. One of the projects I’m currently working on is about a metadata filesystem for Windows (Similar to what WinFS was supposed to be but different in many aspects, mainly because users will have a greater level of customization […]
Interoperability between Java World and Microsoft World by implementing a MSMQ Bridge in Visual C++
Hi Community, As Developers, consultants or architects we always have to face challenges when it comes to integrating to existing systems. This is a bit harder when technologies aren’t from the same vendor. This blog post describes an IPC mechanism I had to implement for an integration project that comprised Microsoft technologies and Java. […]
Building a Visual Studio Add-In To Leverage WinDBG and SOS
Hi Community, I am currently building an Visual Studio add-in to leverage SOS and make it more user friendly, thus I have called it Visual SOS. On this blog post I will describe the main debugging interfaces that are required as well as an artefact called SOS Wrapper which encapsulates the functionality as a […]
Microsoft Visual C++ MVP Award for 2015
Hi community, It gives me great pleasure to announce that Microsoft has awarded me with an MVP recognition once again in the Visual C++ category. This is my tenth consecutive time as an MVP award recipient. Wow!!! Who woulda have imagined, MVP award recipient for a decade 🙂 I am thrilled and excited about this, […]
.NET Crash Dump and live process analysis via clrmd
Application debugging and analysis can be a daunting task, even more when source code neither symbols are not available. Visual Studio provides developers with powerful debugging capabilities, but the problem many times faced by developers is that Visual Studio is not installed on the target computer which is fair enough if it is a production […]
Presentation material “Developing Microsoft Azure Apps”
Hi community, Please find below the presentation material from Today’s session. Regards, Angel [office src=”https://onedrive.live.com/embed?cid=2FE1291768841ACE&resid=2FE1291768841ACE%215468&authkey=AGy7DK9bJRUrSpA” width=”98″ height=”120″”]
Read XML config files with Visual C++
Hi Community, I am currently working on an add-in for Visual Studio to expose some functionality available in the “Debugger Engine and Extension APIs”. The development is in the very early stages, but I have completed already one feature required by the Add-in, which is the ability to read XML configuration files similarly to how […]