Month: June 2011

C Assert and Wrapping Macros in Do/While Loops

Building a Better Assert Macro and Why You Should Be Wrapping Your Macros in Do/While Loops

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Native | <span class="entry-utility-prep entry-utility-prep-tag-links">Tagged</span> , | Leave a comment

Limiting an Application to a Single Instance with Named Events

How to Limit an Application to a Single Instance per Session or System-wide with Named Events.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Native, Windows | <span class="entry-utility-prep entry-utility-prep-tag-links">Tagged</span> , | Leave a comment

Simple Reader-Writer Lock in C on Win32

A basic reader-writer lock for thread synchronization in native C on Win32.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Native, Windows | <span class="entry-utility-prep entry-utility-prep-tag-links">Tagged</span> , | Leave a comment

HOWTO: Generate and Publish Doxygen Documentation in TeamCity

Configuring TeamCity to generate and publish documentation during the build process using Doxygen, cwrsync, SSH, and MSBuild.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Continuous Integration, Version Control | <span class="entry-utility-prep entry-utility-prep-tag-links">Tagged</span> , | 6 Comments

Creating Temporary Files on Win32 in C – Part 2

Creating a temporary file on Windows in C using GetTempFileName, CreateFile, and FILE_FLAG_DELETE_ON_CLOSE

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Native, Windows | <span class="entry-utility-prep entry-utility-prep-tag-links">Tagged</span> , | Leave a comment

Creating Temporary Files on Win32 in C – Part 1

Discussing the numerous ways to create a temporary file on Windows in C and the pros & cons of each.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Native, Windows | <span class="entry-utility-prep entry-utility-prep-tag-links">Tagged</span> , | Leave a comment