BUG: PR2404 Error w/ QSORT.MAK Sample for C under MS-DOS (90735)



The information in this article applies to:

  • Microsoft Programmer's Workbench for MS-DOS 2.0
  • Microsoft Programmer's Workbench for MS-DOS 2.1.49

This article was previously published under Q90735
The information in this article is included in the documentation starting with Visual C++ 5.0. Look there for future revisions.

SYMPTOMS

Using the Microsoft Source Profiler PWB extension to profile the QSORT.MAK sample C code for MS-DOS causes the following error:
PROFILE : error PR2404: The .PBI table for file
C:\PROFILER\SAMPLES\C\DOS\QSORT.exe is out-of-date.

CAUSE

The PREP dependency statement is missing from the QSORT.MAK file that is generated by PWB.

RESOLUTION

Modify the QSORT.MAK file to add the following to the list of dependencies:

$(PROJ).pbt:
$(PROFSET) MAKEFLAGS=
$(PROFNMAKE) $(NMFLAGS) -f $(PROJFILE) $(PBTDEPEND)
$(PREP) /P $(PBTDEPEND) /OT $(PROJ).pbt

STATUS

Microsoft has confirmed this to be a problem in Programmer's WorkBench versions 2.0 and 2.1.49. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Modification Type:MajorLast Reviewed:9/30/2003
Keywords:kb16bitonly kberrmsg KB90735