Partilhar via


Dia2dump Sample

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The Dia2dump sample is installed with Visual Studio and contains the Dia2dump.cpp source file. The compiled executable runs from the command line and displays the contents of an entire program database (.pdb) file.

To install the sample

  1. Verify that your system meets all setup requirements described in the Visual Studio Setup start page.

  2. Install Visual Studio and follow all setup and installation instructions for the included samples.

To build the sample

  1. Open the Dia2dump.sln file in Visual Studio. (If necessary, Visual Studio will first help you upgrade the Dia2dump project.)

  2. In the project property pages, in the C/C++ | General | Additional Include Directories property, specify the ..\DIA SDK\include directory. This guarantees that the compiler can find the dia2.h file.

  3. On the Build menu, click Rebuild Solution.

  4. Close Visual Studio.

To run the sample

  1. Open a command prompt and type the following:

    dia2dump filename  
    

See Also

Dia2dump.cpp Source File
How to: Troubleshoot Unsuccessful Visual Studio Project Upgrades