gmail user wrote:

On Fri, 05 Nov 2004 11:48:44 -0800, Darin Fisher <[EMAIL PROTECTED]> wrote:


Doug Turner wrote:





gmail user wrote:



On Thu, 04 Nov 2004 09:48:44 -0800, Doug Turner <[EMAIL PROTECTED]> wrote:




Oh, I kind of understand what you are doing.  Why are you calling
NS_InitXPCOM2?  If you are inprocess, you shouldn't do that.

I think you can just lookup the NS_GetServiceManager or
NS_GetComponentManager symbol and away you go.





Okay, thats great. And if I want to do this in a seperate process, what is the way to go about it? I should be reading the installation directory from the registry?

-my activex is going to be available for later use by a seperate
process too, so is there a way to obtain and save the two directories
location from NS_GetServiceManager or  NS_GetComponentManager?
- From the registry HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla
Firefox\1.0PR (en-US)\Main, I could only get the bin directory
(PathToExe), how do we get the profiles directory?

Thanks
~f9



The only way I know of how to do it Out of process is to use the IPC
stuff which i don't believe is enable and my just be experimental.
Darin?

Doug


Firefox does not include the experimental IPC code.  You also cannot
embed Firefox, so calling NS_InitXPCOM2 is definitely out of the
question.  If you want to poke at a running Firefox instance, you might
try creating your own Firefox extension that adds some code that you can
invoke from out of process.  For example, if you have a C++ Firefox
extension, you could probably use WM_COPYDATA messages to transfer data
between the Firefox process and your other process.  Basically, you have
to roll your own.




How about Mozilla? Does it include the experimental IPC code? If yes, can you give a pointer to it?

Thanks,
~f9


-Darin



_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding



Yes, Mozilla includes the IPC code, but it currently isn't used for anything. See:
http://lxr.mozilla.org/seamonkey/source/ipc/ipcd/client/public/ipcIService.idl


NOTE: this interface has changed since Mozilla 1.7

-Darin
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to