http://bugs.winehq.org/show_bug.cgi?id=6775
--- Comment #14 from Nikolay Sivov bunglehead@gmail.com 2012-05-06 15:49:45 CDT --- (In reply to comment #13)
domdoc_createTextNode -> domtext_put_data ...
This problem might apply to more methods that carry BSTR parameters but I think getting domdoc_createTextNode -> domtext_put_data to work with pure WCHAR* data should be ok.
Yes, some similar cases were fixed some time ago.
To not change much code down the call tree maybe a temporary "real" BSTR could be created as soon as possible from input "wide character" string.
Sure, but I'll better add some put_data() tests for all node types and nothing crashes on native I will fix all of them.