Article ID: 171561
Article Last Modified on 1/16/2001
APPLIES TO
- MSPRESS Inside Com ISBN 1-57231-349-8
This article was previously published under Q171561
SUMMARY
Errors may occur if you attempt to compile the source code for the Tangram application from the CD-ROM packaged with the Microsoft Press book "Inside COM."
MORE INFORMATION
The following corrections should be made before compiling the source code for the Tangram application:
- Add a subdirectory called \Proxy to the \tangram\source\model\ directory. This directory should be left empty.
- In file \tangram\source\glwlrd\cgl-pal.cpp, line 108:
Change: TRACE0
To: TRACE - A release build of the final Tangram executable will fail because it attempts to use precompiled headers for files that aren't set up to use them.
To avoid this error, disable precompiled headers for the entire Release build of the Tangram executable. To do this in Microsoft Visual C++, follow these steps:
- On the Developer Studio's Project menu, click Settings.
- In the dialog box that appears, click Tangram in the left pane and select Win32 Release from the Settings For list above it.
- Click the C/C++ tab on the right, and select Precompiled Headers from the Category list.
- Click to select the button for Not Using Precompiled Headers.
Additional query words: mspress ms_press press bookbug com automation
Keywords: kbother KB171561