Поделиться через


Configuring the Text Interpreter Project

Before you build the project, you must make changes to the project settings. You must add the header, library, and IDL paths for the Visual Studio Debugging SDK to the project. You must also add ad2de.lib and dbgmetric.lib to the list of linked libraries.

To configure the text interpreter project

  1. Open the stdafx.h file and add the following bold lines:

    #include <atlcom.h>
    #include <msdbg.h> 
    #include <dbgmetric.h> 
    
  2. In Solution Explorer, right-click the TextInterpreter project and click Properties.

  3. In the Configuration list at the top of the dialog, click All Configurations.

  4. Open the General category on the left.

  5. On the right, change the Use of ATL property to be Dynamic Link to ATL.

  6. Open up the C/C++ category on the left and click the General subcategory.

  7. In the Additional Include Directories property on the right, type the path to the VSIP Microsoft Debugging SDK headers directory (by default, this would be C:\Program Files\VSIP 8.0\Microsoft Visual Studio Debugging SDK\Includes) and click Apply.

  8. Open up the Linker category on the left and click General.

  9. In the Additional Library Directories property on the right, type the path to the VSIP Microsoft Debugging SDK library directory (by default, this would be C:\Program Files\VSIP 8.0\Microsoft Visual Studio Debugging SDK\Libs) and click Apply.

  10. Open up the Linker category on the left and click Input.

  11. In the Additional Dependencies property on the right, type ad2de.lib dbgmetric.lib and click Apply.

  12. Open up the MIDL category on the left and click General.

  13. In the Additional Include Directories property on the right, type the path to the VSIP Microsoft Debugging SDK IDL directory (by default, this would be C:\Program Files\VSIP 8.0\Microsoft Visual Studio Debugging SDK\IDL) and click Apply.

  14. Click OK to close the Properties dialog box.

  15. Build the project to make sure there are no errors.

See Also

Tasks

Tutorial: Building a Debug Engine Using ATL COM