Yes you are completely correct. I just figured this out but printf'ing my way through the interface implementations. My problem was that I was insantiating the nsIMsgSearchValue object every time I was accessing it. I figured out why and now everything works fine. I'm so glad mozilla is open source, had I been doing this elsewhere I would not have been able to figure this out (you can't stick printf's in the code under IE).
Dan > > Like PRUnichar/wstring, JSStrings are UCS2 (Unicode) strings. > XPConnect maps between JSString and wstring, so it should be > completely transparent; no explicit conversion necessary. > > Dan >
