Here are some ideas that you should verify:
  1. You have registered mozctlx.dll, not mozctl.dll. Do not register mozctl.dll or the paths will all be screwed up and components won't be found.
  2. Check shistory.dll is in bin\components. This is the file that implements the session history object
  3. bin\components.reg exists of some reasonable size, e.g. > 200+k. If not, try deleting it and running mfcEmbed or mozilla to recreate it.
  4. Verify that mfcEmbed / mozilla works as expected
Adam

ask wrote:
a0pufk$[EMAIL PROTECTED]">
Hi,

Downloaded the source and built it (for mozilla).

The crash occurs at line 1087

of embedding/browser/webbrowser/nsWebBrowser.cpp file.

Not sure what I need to do to make sure that

@mozilla.org/browser/shistory;1 is to be set for

nsCreateInstanceByContractID to work. When and how

does this get created?

"ask" <[EMAIL PROTECTED]> wrote in message
9vse52$[EMAIL PROTECTED]">news:9vse52$[EMAIL PROTECTED]...
Hi,
I get a Access Violation after I insert the mozilla control in my dialog
and
then try to run it (No other code added after inserting the control). Just
running it immediately after inserting it (allowing it to create the
CWebBrower2
class) is enough to crash it (access violation in mozctl.dll).

Any tips/pointers to what could be wrong would be greatly appreciated.
Have
spent a week on this issue. Tried the talkback builds - same result.
(0.9.6)







Reply via email to