Connecting Tech Pros Worldwide Help | Site Map

Convert CString to Variant

Gertjan Huiskes
Guest
 
Posts: n/a
#1: Jan 4 '07
Hello all,

I want to convert a CString to a Variant.

I'm using COleVariant to do this, and it works ok...
but by using COleVariant, the whole string is placed on the stack
twice!!!!!

Because my strings are very long (several megabytes) I have to reserve
a hugh stack.
I want to do it in a different way.

Can someone help me with this?

Grtz
Gertjan


Victor Bazarov
Guest
 
Posts: n/a
#2: Jan 4 '07

re: Convert CString to Variant


Gertjan Huiskes wrote:
Quote:
I want to convert a CString to a Variant.
[..]
Can someone help me with this?
Yes, somebody in the MFC or OLE newsgroup should be able to.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask


Closed Thread