PRB: Assertion in Dlgprop.cpp Line 499 (140351)
The information in this article applies to:
- Microsoft Visual C++, Macintosh Cross-Development Addon 2.0
This article was previously published under Q140351 SYMPTOMS
Displaying a property sheet within a project for a Macintosh target results
in the appearance of this assertion message:
xxxx: File dlgprop.cpp, line 499
This may start with line 497 instead (as in the PROPDLG sample), but it
will be followed by more assertions (501, 503, and more in various
locations).
CAUSE
As there was no update to the Macintosh cross-compiler in version 2.1,
building a Macintosh application still requires the MFC header files from
version 2.0. One of these files includes the Afxres.rc file, which contains
some resources, such as some scroll bitmaps, which are not found in
Afxres.rc file from version 2.1.
RESOLUTION
Run the provided Setupmfc.exe program, and add a path for the MFC 3.0
include directory to the INCLUDE environment variable in the development
environment. More details follow.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 8/3/2001 |
---|
Keywords: | kbprb kbsetup KB140351 |
---|
|