UninjectLibrary without driver

c++ / delphi package - dll injection and api hooking
Post Reply
Davita
Posts: 163
Joined: Tue Sep 13, 2005 7:31 pm

UninjectLibrary without driver

Post by Davita »

Hi. In one of my projects, I'm not using the driver to inject my library. I'm just evaluating several processes I want to inject and call InjectLibrary. No I want to uninject my dll from those processes but I couldn't find any overload of UninjectLibrary which is not dependent on the driver. So is there any way to uninject a dll from a process without using the driver? Thanks.
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Re: UninjectLibrary without driver

Post by madshi »

There is an overload for this:

Code: Select all

function (Un)InjectLibraryA/W (libFileName   : PWide/AnsiChar;
                               processHandle : dword;
                               timeOut       : dword = 7000) : boolean;
Davita
Posts: 163
Joined: Tue Sep 13, 2005 7:31 pm

Re: UninjectLibrary without driver

Post by Davita »

Ouch, my intellisense went crazy, thanks madshi :)
Post Reply