Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old January 4th, 2007, 10:05 PM
Gertjan Huiskes
Guest
 
Posts: n/a
Default Convert CString to Variant

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


  #2  
Old January 4th, 2007, 10:15 PM
Victor Bazarov
Guest
 
Posts: n/a
Default 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


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles