Hi, I have been playing with the mozctl.dll control.
I think there are problems when using the control with embedded Mozilla.
Using Embedded Mozilla, it should be possible to have several application
installed, each using there own directories. Currently the mozilla directory
is stored in the registry, which could conflict using a side-by-side
installation.

Windows 98SE/2000 can have ActiveX controls installed in different
directories side by side, see
http://msdn.microsoft.com/library/techart/sidebyside.htm

I don't see any need to store the path in the registry, or have the user
search for mozilla manually.

On initialisation the control can use the directory where mozctl.dll is in
as the Mozilla directory path. Is there any reason to place mozctl.dll in
another directory then the Mozilla files? This directory can also be added
to the PATH of the mozctl process. This seems to work without using a new
dll-wrapper (mozctlx)

If placed somewhere else, the application using Mozilla can add the Mozilla
path to the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App
Paths\MozApp.exe
  Path=C:\Program Files\MyApp\Mozillabin
Windows will add the path in this key to the path when starting the program.

I modified Mozctl to implement this, and it seems to work fine. I will clean
it up and submit it on bugzilla soon.



Reply via email to