Hey,
This feels like a silly question... I've not had much experience with using the STL's with functions like SendMessage(..., WM_GETTEXT,...). I know when I want access to the characters in the std::string for use in other functions to use the c_str method. My Question is how do I supply the pointer to calls such as SendMessage when the function will allocate characters to my std::string?
Like I said, sounds like an easy one... I just don't know the answer, and the documentation I've found so far isn't very clear.
Anyone help me on this one?
Jher
This feels like a silly question... I've not had much experience with using the STL's with functions like SendMessage(..., WM_GETTEXT,...). I know when I want access to the characters in the std::string for use in other functions to use the c_str method. My Question is how do I supply the pointer to calls such as SendMessage when the function will allocate characters to my std::string?
Like I said, sounds like an easy one... I just don't know the answer, and the documentation I've found so far isn't very clear.
Anyone help me on this one?
Jher