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日 2:43
     
     
    i can't start the performance profiler, my app is a MFC dll.

すべての返信

  • 2011年3月16日 14: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日 22: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日 8: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
    •