Russoul
Russoul

Reputation: 147

Visual Studio's profiling API

I can't properly setup manual profiling using Visual Studio's API. I used this MSDN guide to link their lib to my project. But I'm getting unresolved external symbol __imp_StopProfile while trying to launch the code that includes and uses StopProfile function. I've set the path to the profiling library in my project properties and added the name of the library to the linker. I tried to include both VS12 and VS14 versions, no luck.

Upvotes: 2

Views: 609

Answers (1)

Chemodansama
Chemodansama

Reputation: 334

I believe you are trying to build x64 application which requires x64 VSPerf.lib which can be found at C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\x64\PerfSDK. Please note that x64 folder there.

Upvotes: 2

Related Questions