Wednesday, March 31, 2010

Re: [Cpp-Programming] What does this mean in debugging?

Without the code, we can't tell you what's wrong.  It looks like you are trying to dereference a pointer which is equal to 0 ("null pointer").

In Visual Studio, go to debug-->exceptions, and check all the boxes.  Then run your program in debug mode; when it crashes, it should tell you what part of code is throwing the exception.

  -BlueRaja


On Wed, Mar 31, 2010 at 2:54 PM, JoeC <enki034@yahoo.com> wrote:
First-chance exception at 0x5b5dba37 (msvcr100d.dll) in Color
Bitmap.exe: 0xC0000005: Access violation writing location 0x00000000.
First-chance exception at 0x5b5dba37 (msvcr100d.dll) in Color
Bitmap.exe: 0xC0000005: Access violation writing location 0x00000000.

I am using VC++ express.  I am trying to write a bitmap editor and I
have been having all kinds of strage memory problems.  I use a few
pointers mainly the one that holds the array for bitmap bit data.

--
You received this message because you are subscribed to the Google Groups "C++ Programming" group.
To post to this group, send email to cpp-programming@googlegroups.com.
To unsubscribe from this group, send email to cpp-programming+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cpp-programming?hl=en.


--
You received this message because you are subscribed to the Google Groups "C++ Programming" group.
To post to this group, send email to cpp-programming@googlegroups.com.
To unsubscribe from this group, send email to cpp-programming+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cpp-programming?hl=en.

0 Comments:

Post a Comment

<< Home