In my project, I just replaced VPE 3.5 with VPE 3.6.
My application runs on Windows XP and is compiled as Unicode (i.e. all internal strings are UTF-16).
Now when calling VPE 3.5 the string parameters of VPE were CHARs (or CHAR-pointers). I converted my unicode strings to ansi strings and passed them to VEP 3.5.
With version 3.6, the parameters of VPE are now TCHARs (or TCHAR-pointers). Therefore I do not need to convert them to ansi strings anymore.
But what happens? When printing a document, only the very first character of a string is printed.
I believe this is due to the fact that VPE 3.6 still interprets the passed strings falsely as ansi and sees the zero upper byte of the second TCHAR in the passed string as the terminating zero.
Question: Could you please comment on this? Is this an issue? Or am I doing something wrong here? Can I work-around this issue somehow?
Thanks
Uwe