Thank you for this replay. This is realy bad news for me. Maybe is a way to get UserAgent string using XPCOM without creating browsers instance?:((
Best regards, Dmitriy PS. Sorry for my English. "Darin Fisher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > There isn't a good API for this (that i'm aware of) unfortunately. > However, on each system that has a GRE installed, there are platform > specific ways to determine the version of the GRE installed. There's > good info on how to do this on the WIN32 platform here: > > http://www.mozilla.org/projects/embedding/GRE.html > > I hope that helps, > -Darin > > > Dmitriy B. wrote: > > >I would like to detect the minor and major version of XPCOM library which is > >loaded by my application. > >If my application is not supports this version of XPCOM i am going to raise > >error message. > >Does you have any suggestion? > > > >Best regadrs, Dmitriy > > > > > >"Doug Turner" <[EMAIL PROTECTED]> wrote in message > >news:[EMAIL PROTECTED] > > > > > >>There isn't an explict way to do what you are asking. I guess you can > >>try to use the version in the XPCOMFunctions, but I am not sure that is > >>going to get you what you want. > >> > >>What are you trying to do? > >>Doug Turner > >> > >>Dmitriy B. wrote: > >> > >> > >> > >>>I found the XPCOMFunctions struct which are having version field but > >>> > >>> > >most > > > > > >>>likely can't use it. > >>> > >>>Any ideas ? > >>> > >>> > >>>"Dmitriy B." <[EMAIL PROTECTED]> wrote in message > >>>news:[EMAIL PROTECTED] > >>> > >>> > >>> > >>>>Hello. > >>>>Subj. > >>>> > >>>>Is it possible at all? > >>>> > >>>>Best regards, Dmitriy > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > > > > > >_______________________________________________ > >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
