Loading DLL in another Processes Memory Space

Hi,
I need to load a DLL (forcibly) in the memory space of another
process. I tried doing this using a Hook,
but it degrades the System performance.
CreateRemoteThread/LoadLibrary will probably work, but I
need to do this both under NT and 9x.

TIA

Rohitab Batra
xxxxx@opengroup.org
http://www.opengroup.org

if you try to fail, and succeed, which have you done

how about using the appinit_dlls key in the registry…(assuming the other
process is an GUI app).

chaitanya

----- Original Message -----
From: Rohitab Batra
To: NT Developers Interest List
Sent: Monday, May 29, 2000 1:04 PM
Subject: [ntdev] Loading DLL in another Processes Memory Space

> Hi,
> I need to load a DLL (forcibly) in the memory space of another
> process. I tried doing this using a Hook,
> but it degrades the System performance.
> CreateRemoteThread/LoadLibrary will probably work, but I
> need to do this both under NT and 9x.
>
> TIA
>
> Rohitab Batra
> xxxxx@opengroup.org
> http://www.opengroup.org
> ----------------------------------------------------
> if you try to fail, and succeed, which have you done
>
> —
> You are currently subscribed to ntdev as: xxxxx@cmcltd.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Hi,
Pls have a look at the book “Advanced Windows: Jefrey Rchter”. In
the 2nd edition, he had devoted an entire chapter for this. ch#16.

HTH
balan


Subject: Loading DLL in another Processes Memory Space
From: Rohitab Batra
Date: Mon, 29 May 2000 13:04:36 +0530
X-Message-Number: 1

Hi,
I need to load a DLL (forcibly) in the memory space of another
process. I tried doing this using a Hook,
but it degrades the System performance.
CreateRemoteThread/LoadLibrary will probably work, but I
need to do this both under NT and 9x.

TIA

Rohitab Batra
xxxxx@opengroup.org
http://www.opengroup.org

But it will not work under 9x. APPINIT_DLL key is only used by NT

Rohitab Batra
xxxxx@opengroup.org
http://www.opengroup.org

if you try to fail, and succeed, which have you done

-----Original Message-----
From: Bhaava Chaitanya Kancherla [mailto:xxxxx@cmcltd.com]
Sent: Tuesday, May 30, 2000 AM 09:36
To: NT Developers Interest List
Subject: [ntdev] Re: Loading DLL in another Processes Memory Space

how about using the appinit_dlls key in the registry…(assuming the other
process is an GUI app).

chaitanya

----- Original Message -----
From: Rohitab Batra
To: NT Developers Interest List
Sent: Monday, May 29, 2000 1:04 PM
Subject: [ntdev] Loading DLL in another Processes Memory Space

> Hi,
> I need to load a DLL (forcibly) in the memory space of another
> process. I tried doing this using a Hook,
> but it degrades the System performance.
> CreateRemoteThread/LoadLibrary will probably work, but I
> need to do this both under NT and 9x.
>
> TIA
>
> Rohitab Batra
> xxxxx@opengroup.org
> http://www.opengroup.org
> ----------------------------------------------------
> if you try to fail, and succeed, which have you done
>
> —
> You are currently subscribed to ntdev as: xxxxx@cmcltd.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@dcmds.co.in
To unsubscribe send a blank email to $subst(‘Email.Unsub’)