03-15-2013, 12:00 PM
What strings the dll uses - ANSI or Unicode? If char*, it is ANSI. It's better to use Unicode strings, because ANSI string encoding does not match QM string encoding in Unicode mode (UTF-8), and then dll should know QM encoding and give correct string.