Tips

C & C++ Tricks

C & C++ Tricks

This section contains code snippets which I have acquired over time. Most of the code samples are in the C programming language. Just a couple require C++. Wherever possible, I have accredited the code with the respective authors. However, there are quite a few samples of which I have lost the original author's details. In these cases I have left the snippets unaccredited. If you see a code snippet below, and you believe you know who originally published it, please drop me a line and I'll update this page immediately.

Please send any comments or suggestions to:

Win32 Tips & Tricks - Part 2

Win32 Tips & Tricks - Part 2

Continuing on from the last part, here are more Win32 Tips and Tricks for you to browse.

XP Themes

Common-control manifests (which enable the XP themes) can be added to an executable in one of two ways:

Firstly, the manifest can be saved inside a file in the same directory as your executable. It must also have the same filename, with the text '.manifest' appended to the end:

AppName.exe
AppName.exe.manifest

The manifest is just a text file (in XML) and should look like this:

Visual C++ Tips & Tricks

Visual C++ Tips & Tricks

This section presents a collection of Visual C++ 6.0 tips which are often hard to find information about. All of the tips are useful in their own way, and many will work exactly as-is in Visual Studio .NET also, so take a moment to browse through the collection.

Win32 Tips & Tricks

Win32 Tips & Tricks

Introduction

This section presents a few win32 programming tips that I have picked up whilst learning to program Windows. Please select a topic from the list below.

Subscribe to RSS - Tips