There is a partially documented feature in the Microsoft C/C++ runtime libraries that allows you to run code before the main function (main, WinMain or DllMain) is called, and after it returns.
Latest Application Control Articles - Page 3
Send keystrokes to the active window or to a selected window.
Another suggestion for forcing only one instance of an application to run at a time.
If you ever need to have only one instance of an application active, you might be interested in using this class. This class enables you to stop running a second instance of an application.
This is a set of small projects (all working together) that can ease creating a log of your program's code path at run-time.
Standard concept with a twist ; in this version if the app is running it is brought to the foreground and passed any command-line arguments
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
Adding extra fields to an ASP.NET membership set-up doesn't have to be difficult, especially if there is only a small amount of data.
Hannes du Preez explains what delegates are and how to use them to call managed and unmanaged code in VB.NET.
This article introduces you to Big Data, Apache Hadoop and MapReduce jobs. We will also learn how to create MapReduce jobs using C#.