vs2008 performance profiler fatal error:injection of runtime library failed, cannot be lunched
-
2011年3月15日 上午 02:43i can't start the performance profiler, my app is a MFC dll.
所有回覆
-
2011年3月16日 下午 02:47
Hi,
I understand that a dll file cannot be analyzed by VS profiler directly. It is because that profiling is a runtime technique. You should profile an executable project called the dll file。By the way, using the Visual Studio UI to start the profiler will prompt you to choose a target executable path automatically.
-
2011年3月17日 下午 10:14版主
Hi pkuoliver,
This error can happen when you have certain anti-virus or security software installed. Please check if you have any of the following running:- Application Verifier (AppVerifier)
- Embassy Security Center (check for \system32\wxvault.dll)
- Symantec's Protection Agent (sysfer.dll)
- Lumension security suite (\system32\sxwmon32.dll)
If any of these are installed, you might have to stop them from running temporarily in order to get profiling results.
Regards,Chris- 已標示為解答 eryangModerator 2011年3月29日 上午 09:26
-
2012年4月24日 上午 08:03
Hi Chris,
Your solution is not enough.
I had the same problem and tried 4 above points to overcome it. Nothing helped.
The problem was related with launched DbgView.exe
I think you may expand your solution adding
5. Dbgview.exe
Regards,
Paroval
- 已提議為解答 Paroval 2012年4月24日 上午 11:42

