03-15-2013, 12:28 PM
Can do like most Windows API functions, eg GetWindowText.
If using Unicode strings, easier is to allocate and return BSTR, eg with SysAllocString.
With ANSI strings not so easy.
If using Unicode strings, easier is to allocate and return BSTR, eg with SysAllocString.
With ANSI strings not so easy.