ID: Q80226
Arnie.exe is a sample file that demonstrates how an application designed for the Windows environment can spawn another application and suspend its execution until the spawned application terminates. The sample application demonstrates detecting when a task starts and completes using the TOOLHELP.DLL dynamic-link library, a new feature of Windows 3.1.
The following file is available for download from the Microsoft Software Library:
~ Arnie.exe (size: 24056 bytes)
For more information about downloading files from the Microsoft Software
Library, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q119591
TITLE : How to Obtain Microsoft Support Files from Online Services
The TOOLHELP DLL supplies a notification mechanism by which an application
can be notified of various events that occur in the system. Two such events
are task startup and task termination. To install a notification hook, the
application calls the NotifyRegister() function, specifying a callback
procedure. The callback procedure is called when specified events occur in
the system. To determine when an application starts and ends, watch for the
NFY_TASKSTART and NFY_TASKEND notifications in the callback procedure. When
the application no longer requires notifications, call NotifyUnRegister().
Additional query words: Keywords : kbfile kbsample kb16bitonly kbKernBase
Last Reviewed: December 11, 1998