|
-
February 18th, 2015, 07:46 AM
#6
Re: add to listbox thread
 Originally Posted by VladimirF
wrapping it into CString just to attach to a message is absolutely unnecessary. Just use strdup().
unnecessary... maybe... But I'd prefer it to strdup/free, neither of which should ideally be anywhere in a C++ application.
wrapping it in a vector<char> or std::string would be equally acceptable alternatives (and preferable to strdup/free).
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|