|
-
Jul 17th, 2002, 05:38 PM
#1
Thread Starter
PowerPoster
Strange, try using the string like this:
PHP Code:
SERVERINFO_CL::sServerName
Also also try changing the string's name to something else because it's same as one the functions you have....not sure if it makes any difference but you can try.
-
Jul 17th, 2002, 06:05 PM
#2
Frenzied Member
Nope to both ideas
I dont understand either. For the life of me I can't figure it out. I have traced to putting anything in the string causes it, but I can't figure out why. If I rem the line I dont get the leak, I unrem them I get the leak.
Man this is starting to drive me crazy.
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Jul 18th, 2002, 11:55 AM
#3
Frenzied Member
Some on suggested this:
This shouldn't cause a memory leak. Move the declaration of SI outside of main(). Is there a memory leak? If so, it isn't really a memory leak, it's just that VC++ memory functions collected the memory leak information too soon (before the global object was destroyed).
I did and I dont get the leak. Think its just bad info from the memory debuger?
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|