Still looking... but on a side note, Shawn, is this you?
quote:
Date: Mon, 4 Oct 1999 17:35:08 -0700
From: "Shawn A. VanNess" <[PRIVACY PROTECTION]>
Subject: Ann: CComTSTR (read this if you hate the USES_CONVERSION macro)This handly litte class wrapps a null-terminated string of TCHARs. I find
it fosters slightly prettier code than the USES_CONVERSION stuff.
Usage is straightforward... Note that, unlike CComBSTR, there is no
operator& overload, as few Win32 APIs take a TCHAR** as an argument.
However, like CComBSTR's operator BSTR(), there is an operator TCHAR*().
Example...
CComTSTR t = myVariant.bstrVal;
editbox.SetWindowText(t);
Warning -- I haven't tested this with any MBCS projects. Use it at your own
risk, and let me know if you have any problems or suggestions.
-Shawn
I found it here http://faqchest.dynhost.com/msdn/ATL/atl-99/atl-9910/atl-991000/atl99100517_01719.html