Category Archives: Windows

Windows Updates for Offline Machines or Slow Connections

Using WSUS Offline Update to install MS Windows, .NET, Office, and other updates to machines that are offline or have slow connections.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> SysAdmin, Windows | 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

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

Resolving Redefinition Errors Betwen ws2def.h and winsock.h

Resolving redefinition warnings and errors between ws2def.h and winsock.h.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Windows | <span class="entry-utility-prep entry-utility-prep-tag-links">Tagged</span> | 6 Comments

Signal a Windows Application to Terminate from Another Process

Signaling one Windows Process to terminate from another process via a named event object.

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

Silently Terminate on Abort/Unhandled Exception in Windows

Preventing unwanted end-user notification dialogs when your Windows application unexpectedly terminates.

<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

Capturing Windows Power Events in a Console Application

Capturing Windows Power Events in a Console Application On Windows XP and Later Using a Hidden Window.

<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> , | 5 Comments

TortoiseHg Version 2.0 Upgrade Gotcha

TortoiseHg Version 2.0 upgrade gotcha when using SSH.
remote: The system cannot find the path specified.
abort: no suitable response from remote hg!

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