|
-
March 30th, 1999, 05:03 PM
#1
May be a dumb question about BSTR.
Hello Codeguru's
This might be very dumb question for gurus like you.
I want to append one BSTR to another but don't find any API for this purpose.
Right now I wrote my own function for this purpose but I want to know is there any api for this purpose.
Expecting reply.
Thanks
Chetan
-
March 30th, 1999, 07:29 PM
#2
Re: May be a dumb question about BSTR.
easiest way is to use _bstr_t class.
_bstr_t b = L"some string";
_bstr_t c = L"some other string";
_bstr_t a = b +c; // that ought to do it.
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
|