Hi. I'm using windows and I need to register a dll using regxpcom. This means that I need to send the directory that contains xpcom.dll with the -x flag to regxpcom.
My problem is that I don't know how to determine which directory is the correct one. There's only one GRE installed on my computer (Netscape's) but my understanding is that users might have several. The directory is in C:\Program Files\Common Files\mozilla.org\GRE\ and it's called X.Yf_YYYYMMDDZQ The only place I could locate the directory in the registry also requires knowing the directory name in advance. I found a file in Netscape's installation directory called manifest.ini (or master.ini they're identical). from this I deduced that X.Y is the productID (minus the string Gecko) and the rest is the BuildID. Basically what I'm asking is there an elegant way to find which GRE netscape was installed with? If not can I build the directory from the data in mainifest.ini? Also, is the 'f' between the ProductID and the BuildID constant or could it be something else? Thanks in advance, Motti. _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
