PaulMdx
July 23rd, 2002, 08:07 AM
Hi Everyone,
I've been using VC 7 (aka .NET) pretty much since its release, and one thing I keep coming across is issues with CStringT.
A lot of problems I get seem to be heap related, with the app not being able to allocate CStringT variables. In debug mode I drop out to dlgheap.cpp, and in release mode the apps will just crash.
I'm having a problem at the moment with a thread I'm running, which I pass an object to, which works fine with other variables, but with CStringT I get bad pointers ("<bad ptr>" in debug).
Are these CStringT issues known, and if so, what are the best work-arounds?
Am I just imagining it, or did MS drop the ball when changing CString to a template?
Like to hear your insight.
Cheers,
Paul Maddox.
I've been using VC 7 (aka .NET) pretty much since its release, and one thing I keep coming across is issues with CStringT.
A lot of problems I get seem to be heap related, with the app not being able to allocate CStringT variables. In debug mode I drop out to dlgheap.cpp, and in release mode the apps will just crash.
I'm having a problem at the moment with a thread I'm running, which I pass an object to, which works fine with other variables, but with CStringT I get bad pointers ("<bad ptr>" in debug).
Are these CStringT issues known, and if so, what are the best work-arounds?
Am I just imagining it, or did MS drop the ball when changing CString to a template?
Like to hear your insight.
Cheers,
Paul Maddox.