hi there,

is there any reason for which a line like

nsCOMPtr<nsIXULAppInfo> appInfo = do_GetService("@mozilla.org/xre/app-
info;1");

should fail giving back a null ptr? everything works, GRE is correctly
loaded etc.

BTW:

 nsCOMPtr<nsIXULRuntime> runtime(do_GetService("@mozilla.org/xre/app-
info;1"));

works, the "runtime" ptr is not null...

usual stupid things like moving the code around and using the form

nsCOMPtr<nsIXULAppInfo> appinfo(do_GetService("@mozilla.org/xre/app-
info;1"));

instead of the assignment are useless.

any advice??

(building/embedding under Windows, gecko 2.0)

thx
Aaron



_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to