Jump to content

  • Log In with Google      Sign In   
  • Create Account

CLOUGHAX

Member Since 01 Jan 2012
Offline Last Active Feb 01 2012 09:18 PM

Posts I've Made

In Topic: Gluax Replacement Code

04 January 2012 - 04:30 AM

Well thanks for the advice ill try and give it another shot although the last tutorial i did on bitmap was a total garbage and it seemed as if the writer got fed up at the end and just pasted the rest of the code which was in fact incomplete and had me stuck for a couple hours trying to figure out his gibberish. But i got fed up and just download an incredible library named free freeImage that works but i dont feel satisfied knowing that it wasnt me who wrote the code. So ill give it a next shot

In Topic: Gluax Replacement Code

01 January 2012 - 06:37 PM

@lc_overlord Run-time error when deallocating the data pointer

I have tested your AUX_RGBImage class and for the most part it works until when the program reaches the point of deallocating the byte data variable through either the destructor or when data!=NULL. I have been trying to solve the problem ever since but it keeps crashing when i reach that point and the only conclusion is can come to is that i overlooked something concerning classes and dynamic allocation or the microsoft visual 2010 compiler is not working cause i even realize that from the code you allocated an byte array so to actually deallocate it wold be delete[] data, but thats not working either. I may be wrong in hypothesis and thats the reason for me making this request for your help.

PARTNERS