I want to create an app using CVI, under Windows 2K, that will start automatically when a specific user logs in and stop automatically when he logs out. The application will dynamically allocate memory. I know I can put the app in the user's startup folder to begin processing. I don't, however, know how to capture a Windows logout event, which I think I need to do in order to free allocated memory. Do I need to get into the Windows SDK to capture the logout event, or does CVI provide windows event handling services? Many thanks, Kevin Redmond