Jump to content
  • Advertisement
Sign in to follow this  
Jedite

Visual Studio .NET and Win2k problem

This topic is 5132 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am not entierly sure whats going on, but im guessing its that i am running the program im writting under win2k, but thats a far fetched assumption so I am gona ask see if anyone knows a solution for the problem im having.. My code compiles, runs great up until the moment it is exiting the program. once it hits return on main it has an Access violation right here.
~_Fac_node()
		{	// destroy a facet
		_DELETE_CRT(_Facptr->_Decref());
		}

thats in the local0.cpp I have no clue whats causing this. If anyone can help me out id appreciate it. [/source]

Share this post


Link to post
Share on other sites
Advertisement
I'm not sure what _DELETE_CRT does, but I assume its a macro for deallocating memory?
It sounds to me like you're trying to deallocate a dangling pointer, which NT based versions of windows (NT/2000/XP) will have none of. If it's this the error being given should be a General Protection Fault. It's probally caused by either the memory being deallocted elsewhere, or by it not being allocated at all in the first place.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!