Thanks for your time. That's a huge work.
Sorry, I forgot to mention, that I will use it in Excel. I have tweaked your code a bit. I can now get hWnd value for UserForm, but I don't know how get it for Module, so my example is not working ("Unicode" button). "If TypeOf This Is UserControl Then" is not working in VBA, so I have made a workaround.
There are two main problems:
1) I still don't see Unicode characters (they all are changed to "??????")
2) There is no such a thing as new line, I see "♪◙" instead.
I saw that you have a reference to vba6 in one place, but newer Office versions use vba7, not sure if that's important.
P.S. My workbook will only work on 32bit Office version, for it to work on 64bit version it needs API adaptation.