Interface between MS Word and Uniface 9.4.01
Author: rmeaille@medinfo.fr (foster06)
Hello all,
I have a new problem interfacing MS Word and Uniface.
I'am using Uniface 9.4.01 (with patch R110). I have a interface with MS Word using
perform "OAcreateApp"
perform "OAexecMuti"
perform "OAInvoke"
For insert a text at a bookmark, after positionning to the bookmarck, I use the following code :
$12 = $WORD_APP$
$13="Pg·;Selection·;M·;TypeText·;1·;S·;%%TXT_REMPLACE"
$14 = ""perform "OAExecMulti"
When the variable TXT_REMPLACE contains ASCII characters, the text is correctly inserted in the Word document.
But when the variable TXT_REMPLACE contains Thai characters (utf8 in Uniface), the text is not inserted in the Word document.
could you help me ?
Do you think that I need to used a 'W' for wide char like this :
$13 = "Pg·;Selection·;M·;TypeText·;1·;W·;%%TXT_REMPLACE"
Uniface provides no documentation about this interface, and I didn't find any documentation in the Uniface site.
Thanks for tou help.