Link to home
Start Free TrialLog in
Avatar of lcor
lcor

asked on

CString , std::string Size Limitation

I'm having trouble with populating CString and std::string with really large strings.  Roughly, after 200 chars, CString and std::string start to poop out and throw exceptions.

How does one deal with large strings...I really need to have a large string with over 500-1000 characters.

I'm really desperate and need to fix this as soon as possible..please help!!

I'm using Visual Studio C++ 6.0 -- I have to use this compiler, there's no choice.
SOLUTION
Avatar of robear7nt
robear7nt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Axter
Axter
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lcor
lcor

ASKER

I can't post the entire code -- propietary stuff...so, let me investigate further the heap issue.  I know at least that CString should be okay and something else is happenning.  Thanks!