Dmitriy B. wrote:
Hello. I have two questions. I am developing an application based on xpcom engine using C++. The first problem. I have a problem with bootstrap development. This is discription mine function initialization of xpcom. 1. Dynamicaly load xpcom.dll and get XPCOM API on Windows. 2. Invoke NS_InitXPCOM2(nsnull, nsnull, nsnull); 3. Geting nsIAppShellService via do_GetService 4. nsIAppShellService - Initialization one by invoke nsIAppShellService->Initialize(nsnull, nsnull); 5. Invoke nsIAppShellService->DoProfileStartup(nsnull, NS_FALSE) 6. Invoke nsIAppShellService->EnterLastWindowClosingSurvivalArea(); 7. nsIAppShellService->CreateHiddenWindow() .....................
In this point CreateHiddenWindow() never returned. No any AV happened. In general mine CPU load 100% of time (Looks like while(true) {};). This is happening under mozilla 1.5. Under 1.6 this works great but it is having other problem. The second question. Then i load xpcom in way discribed above under mozilla 1.6 (Windows) all my <tree> XUL elements stands not selectable!!!!???? I be over all my ideas how i can fix it. If i load my XUL-window directly to Mozilla via Load File dialog or drag-and-drop all it Ok.
If anyone have any ideas please lets us known. Thank you for any help.
PS, Strangely enough, under Linux (tested on Mozilla 1.4, Mozilla 1.5) this code works great. Problem under Windows only.
_______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
_______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
