Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing C++ strings by reference
#4
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 12 Guest(s)