How to Create the PCF and Run PREP
With the following PCF, the profiler collects statistics only for the main window procedure and for the About dialog box procedure in GENERIC. For more information on PCFs, see chapter 4 of the Source Profiler "User's Guide." Place the following text into the GENERIC.PCF file:
FPROFILE TIME
PROGRAM GENERIC.EXE DELETE
OBJECT GENERIC.OBJ
FUNCTION MainWndProc ADD # Note: function names are case sensitive
FUNCTION About ADD
To use this file, perform the following three steps:
1. Place the GENERIC.PCF file into the same directory as the source code for the GENERIC sample.
2. Build the GENERIC sample with debugging information (specify the /Zi compiler option switch and the /CO linker option switch).
3. Use the following command line to run the PREP utility:
PREP /P GENERIC.EXE /OT GENERIC.PBT /OI GENERIC.PBI GENERIC.PCF
...
Written by magakos on October 6th, 2008 with no comments.
Read more articles on Outlook Email Error and Outlook Support and Fix Outlook Error and otherSoftware.

















