From: William S Fulton <wsf@fu...> - 2006-06-28 21:39:58
Bennett, Patrick wrote:
> Patrick Bennett
SWIG has been designed so that users can write typemaps for any type
they wish to use. It just a user invest the time and effort into working
out the marshalling for the std::wstring type and then it would be nice
if they submitted a patch with this support.
Unfortunately it isn't an easy type to marshal because strings sit
inbetween being a primitive type and a non-primitive type and from what
I have read wchar is interpreted differently on different platforms and
Microsoft do not conform to any standard on this and their PInvoke
marshalling is a black box. However, it doesn't mean it isn't possible
and I think there might even be some typemaps for this on the swig
mailing lists and the mono mailing lists sometimes discuss wchar
Get latest updates about Open Source Projects, Conferences and News.