Hi I've been having some odd behavior when I'm using the nsIDocument 
interface.

basically what happens is when I call a function
(i.e.nsCOMPtr<nsIDocument> dom ...
    dom->GetScriptGlobalObject(); )

it goes into a totally unrelated function inside nsDocument.cpp (in the 
above case GetNumberOfStyleSheets()). I've tried this with a few other 
functions as well some work but others step into other completly unrelated 
functions. Does anyone have any ideas? I've tried several updates and builds 
of the source but none of these seem to correct it (some kind of weird 
linking problems????)

looking at the variables in the debugger, the class is properly initialized 
and contains the data I need, the environment just doesn't seem to be 
addressing the right function in it's lookup table.

(I'm using Windows XP, .net 7.1, and currently the head branch)

Thanks,
--Richard 


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

Reply via email to