Convert CComBSTR to char*
COM
2
Posts
2
Posters
0
Views
1
Watching
-
Hi all, I need to send an array of char via serial line and I have a method to do that. However the string I should send is a CComBSTR. How can I convert it into a "old C style" array of chars? Thank you in advance.
See The Complete Guide to C++ Strings, Part II - String Wrapper Classes[^] --Mike-- THERE IS NO THERE IS NO BUT THERE IS MAGIC PIXIE DUST BUSINESS GENIE CODE PROJECT Homepage | RightClick-Encrypt | 1ClickPicGrabber "You have Erica on the brain" - Jon Sagara to me