Re: can I call a function exported by a DLL in the remote process?
- From: "Ryanivanka" <sarah.hhyy@xxxxxxxxx>
- Date: Fri, 11 Apr 2008 17:03:43 +0800
hi,Volodymyr,
as you memtioned ,
You may always pass the name of dll from process >"A" to process "B", so
that "B" will load it legally using LoadLibrary and call the exports.
I want to call those exports in process A,so I can not use getProcAddress()
to get handles of exports.
you ask about the goal...let me put it this way.
there is a running process B, process A called createRemoteThread() to
inject a DLL named c.dll to B;
c.dll has exports including fun1(),fun2(),fun3()...
remember c.dll is loaded in process B. I want to call those export in
A,maybe frequently,but execute in B's context and change something in B.
so...is that possible?
Thank you again,Volodymyr,you also solved my problem in another forum
topic:)
"Volodymyr M. Shcherbyna" <v_scherbina@xxxxxxxxxxxxxxx> дÈëÏûÏ¢ÐÂÎÅ:u0bskP6mIHA.980@xxxxxxxxxxxxxxxxxxxxxxx
Let's start from the goal. What are you trying to achieve? You may always
pass the name of dll from process "A" to process "B", so that "B" will
load it legally using LoadLibrary and call the exports.
--
V.
This posting is provided "AS IS" with no warranties, and confers no
rights.
"Ryanivanka" <sarah.hhyy@xxxxxxxxx> wrote in message
news:%23LHms52mIHA.5024@xxxxxxxxxxxxxxxxxxxxxxx
can I call a function exported by a DLL in a remote process?
I mean...there is a DLL loaded in a thread in process A,i want to call a
export function in that DLL in process B ,is that possible?
the DLL is a win32 compoment.I can change it to COM or whatever you
suggest.Is there anyway I can do that?
Thank you very much.
regards,
Ryan
.
- References:
- can I call a function exported by a DLL in the remote process?
- From: Ryanivanka
- Re: can I call a function exported by a DLL in the remote process?
- From: Volodymyr M. Shcherbyna
- can I call a function exported by a DLL in the remote process?
- Prev by Date: Re: CreateService needs restart of the box
- Next by Date: Re: CreateFile for USB device returns ERROR_FILE_NOT_FOUND
- Previous by thread: Re: can I call a function exported by a DLL in the remote process?
- Next by thread: CreateService needs restart of the box
- Index(es):
Relevant Pages
|