No, actually I really don't want to use WineLib (then I can use COM to resolve the shortcut anyway!)
I just want a method where I can use GLibc's Unicode functions on Win32 serialized data which treats wchar_t as 2 bytes long..
On Sun, 28 Dec 2003 Dimitrie O. Paun wrote :
On December 27, 2003 01:11 pm, Subhobroto Sinha wrote:
But as I am using pure C++, I have to use GLibc's library functions which expects wchar_t to be 4 bytes long and NOT 2 bytes.
Herein lies your problem. Mixing the two is not pretty, and I think it should be avoided to maintain sanity. Just use our msvcrt for the Unicode functions, it uses 2-byte wchar_t, so you can mix that freely with the other Win32 functions.
-- Dimi.