Sample Advanced\Win32\Event The event program requires two arguments: input file and output file. To run this program within the Developer Studio requires that you modify the program settings slightly to account for this. From Project-Settings-Debug, enter the following line into the "Program Arguments" field: input.txt output.txt If you get the following error when you run event.exe: Error opening : return code = 80 delete output.txt and try again.