[shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- From: Kevin Schaffer <kschaffe@xxxxxxxx>
- To: shell-coding@xxxxxxxxxxxxx
- Date: Wed, 24 Jul 2002 16:17:18 -0400
IModuleManager will not be in 0.24.7. In fact it was
never intended to be public at all. It was a hack I
used for the about box. You can't just pass a
IModuleManager pointer between processes anyway.
If you think that the IModuleManager functions would
be useful to modules then I'll add them as regular
functions to lsapi for 0.24.7.
--
Maduin
RabidModuleBangs has code to do part of this, it uses IModuleManager tho,
which I believe qualifies as a COM interface so I have no idea if it'll
still work in 0.24.7.
http://www.shellfront.org/modules/rabidmodulebangs-1.1.zip should include
the source.
You could create a module that, on a bang command (or maybe on load),
would search for a specific window belonging to your app, then send it a
list of loaded modules with WM_COPYDATA (which is in MS's docs, but it's
a little weird)
Actually, it might be possible to use IModuleManager directly in a
different address space (probably not), I'm not sure. Or maybe just send
the handle to the array of modules in a regular window message, it's in a
"safe array"
__________________________________________________
Subscription options and archive:
http://www.freelists.org/list/shell-coding
- References:
Other related posts:
- » [shell-coding] howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
- » [shell-coding] Re: howto talk to lsapi.dll (or any other dll)?
RabidModuleBangs has code to do part of this, it uses IModuleManager tho, which I believe qualifies as a COM interface so I have no idea if it'll still work in 0.24.7. http://www.shellfront.org/modules/rabidmodulebangs-1.1.zip should include the source.
You could create a module that, on a bang command (or maybe on load), would search for a specific window belonging to your app, then send it a list of loaded modules with WM_COPYDATA (which is in MS's docs, but it's a little weird)
Actually, it might be possible to use IModuleManager directly in a
different address space (probably not), I'm not sure. Or maybe just send
the handle to the array of modules in a regular window message, it's in a
"safe array"