Always remain updated about current software development trends

Articles by SEBASTIAN KRYSMANSKI

Quickly check whether C++ template instances have the same parameters

How to check whether two template instances of a C++ class have the same template parameters without using dynamic_cast

C++ references and inheritance

The last few days I’ve been hunting a bug in a C++ project I’ve been working on. This hunt again showed me how easily you can break C++ programs by accident (something that isn’t possibly in Java or C#). You need to completely understand the...

C++/CLI Cheat Sheet

Table of Contents [hide] 1 Introduction 2 Handles 3 CLR types 3.1 Native and managed types on stack and heap 3.2 Handles and Value Types (.Net Structs and Enums) 3.3 Casting Handles 3.4 Passing handles 3.5 Mixing native and managed types 3.6 Type Of 4 Modifiers:...

Triggering a build when file changed in Visual Studio

In Visual Studio when a source code file is changed, the project it belongs to will be built when the whole solution is being built. So far, so good. But what happens if you want some other files (read: non source code files) to have the same behavior? In my...

Projects in Visual C++ 2010 – Part 1: Creating a DLL project

When you write software, you often/sometimes divide your project into several subprojects. This mini series describes how to do this with Visual C++ 2010 (but this first part also applies to earlier versions). We start with creating a library project in form...

Projects in Visual C++ 2010 – Part 3: Precompiled Headers

In this part of the “Projects in Visual C++ 2010″ mini series another important aspect of C++ programming is explain: precompiled headers. Precompiled headers (or precompiled header files) in many cases significantly reduce the time needed to compile...

Sharing project properties in Visual C++

Everyone who has ever created and managed a C++ project in Visual Studio knows that there are hundreds of compiler switches and options to choose from. While setting the desired values for one project may be ok, it’s quite time-consuming and error-prone...

IDisposable, Finalizer, and SuppressFinalize in C# and C++/CLI

The help page for IDisposable provides the code for IDisposable's default implementation pattern in C#. This article will explain each part of it step by step and also provide the equivalent C++/CLI code in each step.

  • Page 1 of 1
  •