Ambiguous match found error

Jan 10, 2013 at 9:22 PM


     I am new to this, I created a test and run CreateAndInject and I get this Ambiguous match found error.

I looked for naming issues of classes but did not found anything yet.

Can you help me debug CreateAndInject ?

I get an error that the EasyHook in C:\Windows\Microsoft.NET\assembly\GAC_32\EasyHook\v4.0_2.7.4499.0__4b580fca19d0b0c5 is not a debug version. I checked and I've build the assembly with debug info, I eaven copied some debug version of the dll there and still it does not work.

Your help would be apreciated.


Jan 10, 2013 at 9:43 PM

I tried again and again and after some time it seams to work eaven if I did not change anything.Now I don't get the error any more when I debug CreateAndInject and all works well, it injects and gows to the point where it waits 2 seconds or so then I get another error that the injection has not been done.


I debugged the whole thing up to the error.

I get the error after this function call to EndInjection.

 public static void EndInjection(Int32 InTargetPID)       

{            lock (InjectionList)           

{               InjectionList[InTargetPID].ThreadLock.ReleaseMutex();
                InjectionList.Remove(InTargetPID);   //this executes         

  } // here I get the error


Please help me if you know what can be the cause for this.

Jan 12, 2013 at 12:48 AM

Hi Mozylon,

The 2.7 branch is a little easier to debug (if you use the noGAC option). You also need to be able to attach the debugger to the created process and debug both Managed and Native code.

Note that the latest commit broke some things that I'm sorting out. You should be able to get r68060 working.