C++: Getting the c3859 error code while compiling in a mix of C++/CLI and C++

后端 未结 1 650
梦如初夏
梦如初夏 2021-02-20 10:16

After I have done as suggested by Hans Passant in C++: Getting the "error C2065: 'pst' : undeclared identifier" while using pstsdk? (which works), my code now

1条回答
  •  感情败类
    2021-02-20 10:30

    1. Right-click your C++ project in Solution Explorer; choose Properties.
    2. In the Properties dialog, expand Configuration Properties > C/C++ > Command Line
    3. In Additional Options, add /Zm120

    Repeat this for Debug and Release and any other configurations you have.

    For more information on what this command-line option does (and what changing it means), see the /Zm documentation.

    0 讨论(0)
提交回复
热议问题