This project has moved and is read-only. For the latest updates, please go here.

Need admin on Windows XP

Apr 20, 2010 at 10:03 PM

This is caused by a problem with OpenProcess(PROCESS_ALL_ACCESS, ...) on downlevel platforms.  See for details.


The problem occurs in Injector::Launch in Injector.cpp.  To fix the problem change stdafx.h to read:


#pragma once


#include "Windows.h"
#include "tchar.h"

Apr 22, 2010 at 7:05 PM

I assume you mean that the user who is running Snoop, needs to be an administrator on the machine you are running it on, right? We've always ran it that way before, so I've never seen this.

However, your suggested modifications makes sense (thanks for the reference to the documentation). Have you verified this causes things to work for you on XP? If so, I will check it in as a fix.

Apr 22, 2010 at 8:06 PM

The latest Snoop for WPF4 would start and display a list of WPF processes, but the Magnify and Snoop buttons did nothing unless I was logged on as an administrator.

I've made the proposed change to ManagedInjector.dll on my PC and it now works when I'm logged in as a normal user.

Sorry I wasn't clearer; I was in a bit of a rush.

Apr 22, 2010 at 10:03 PM

Thanks arx. This is now fixed, checked-in, and will appear in the next release.