Ken wrote:

> Any thoughts? Solution? Is there a bug in nsCOMPtr.h that is causing
> the disallowance of delayloading?

Try putting all the stuff that depends on XPCOM into another DLL and load
that runtime, for example by making it a COM object. Alternatively write a
small bootstrap DLL/EXE which modifies the PATH before spawning/loading
your real application.

The Mozilla control has recently acquired a DLL which updates the PATH.
Take a look at the mozctlx.dll project in
mozilla/embedding/browser/activex/src/control_kicker to see how it works.

Adam


Reply via email to