vs2008 performance profiler fatal error:injection of runtime library failed, cannot be lunched

Locked vs2008 performance profiler fatal error:injection of runtime library failed, cannot be lunched

  • 2011年3月15日 上午 02:43
     
     
    i 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 fileBy 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:

     

    1. Application Verifier (AppVerifier)
    2. Embassy Security Center (check for \system32\wxvault.dll)
    3. Symantec's Protection Agent (sysfer.dll)
    4. 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

     

  • 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
    •