Steven Katz wrote:

> When I try and run mozilla however, it crashes in a QueryInterface() call to the
> GlobalServiceManger.  You see the old way, via NSGetFactory(), provided the
> Service manager as a variable passed into the NSGetFactory() call.  The new way
> does not, so as a workaround (since our code expects to get this at creation
> time) I locate the ServiceManager with
> nsServiceManager::GetGlobalServiceManager() and pass this to the constructor as
> a replacement for what we use to get from NSGetFactory().


Which macros are you using or are suspect?

ie. NS_IMPL_XXXX vs. NS_DECL_XXXX

Also, could you post some code?

-rick



Reply via email to