DOC: PRF1301 Using Sample Command "FTIME test.exe"

Last reviewed: September 30, 1997
Article ID: Q170513
The information in this article applies to:
  • Microsoft Visual C++, 32-bit Editions, version 5.0

SUMMARY

You may receive error PRF1301 when you start the sample FTIME.BAT by syntax "FTIME test.exe" as described in Help.

MORE INFORMATION

The Help section "Using PROFILE, PREP, and PLIST" states:

   "If the preceding batch file was named FTIME.BAT, and you wanted to
   profile the program TEST from the Profile dialog box, you would select
   the Custom option, and then specify FTIME.BAT in the Custom Settings
   box. If you wanted to profile the TEST program from the command prompt,
   you would type: FTIME TEST.EXE"

If you use the sample batch file from Help, the following error message appears:

   PREP : fatal error PRF1301: file "test.exe" has an incorrect (old)
   signature

NOTE: The sample code in Help is different than the ftime.bat shipped with Visual C++ 5.0. If you invoke the shipped FTIME.BAT with FTIME test.exe, the following error message appears instead:

   PREP : fatal error PRF1011: cannot open file test.exe.exe

The paragraph should read as follows:

   "If the preceding batch file was named FTIME.BAT, and you wanted to
   profile the program TEST from the Profile dialog box, you would select
   the Custom option, and then specify FTIME.BAT in the Custom Settings
   box. If you wanted to profile the TEST program from the command prompt,
   you would type: FTIME TEST"

REFERENCES

TITLE: "Using PROFILE, PREP, and PLIST"

  URL: mk:@ivt:vccore/F33/D36/S4D18E.HTM
Keywords          : OLDocIss
Version           : WINDOWS: 5.0; WINDOWS NT: 5.0
Platform          : NT WINDOWS
Issue type        : kbdocerr


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.