Convert CString to Variant

  • Thread starter Gertjan Huiskes
  • Start date
G

Gertjan Huiskes

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
 
V

Victor Bazarov

Gertjan said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top