Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing C++ strings by reference
#6
Can do like most Windows API functions, eg GetWindowText.
If using Unicode strings, easier is to allocate and return BSTR, eg with SysAllocString.
With ANSI strings not so easy.


Messages In This Thread

Forum Jump:


Users browsing this thread: 14 Guest(s)