Windows Error at run-time...

From: Reimar Twelker (existenzquantor_at_gmx.de)
Date: 07/21/04


Date: 21 Jul 2004 13:58:44 -0700

Hi there,
I'm learning OpenGL and unfortunately I am also new to C++...
My problem is that I am not used to pointers (yet) and my little app
always crashes at run-time...access violation of some sort.

The windows message reads:
...the expression <memory address> points to <0x00000000>. The process
'written' could not be executed...

I have been trying to fix this for a few days now and I NEED HELP!

...I don't have to tell you that I don't know ANYTHING about debugging
in Visual C++ ...:)

I think that my problem is caused by some sort of NULL-pointer I am
writing...
By the way: I have written a class and when I try to create an
instance, my app doesn't even create an application window but crashes
on the spot. I came across this (new?) problem when I tried to avoid
using pointers :| Maybe something is wrong with my class definition
but I'm not new to OOP, I have been using Java for quite some time...

Thanx in advance!!
Reimar



Relevant Pages

  • Re: Windows Error at run-time...
    ... > My problem is that I am not used to pointers and my little app ... > always crashes at run-time...access violation of some sort. ... my app doesn't even create an application window but crashes ...
    (comp.lang.cpp)
  • Security Issues/Questions
    ... My question has to do with the problem of creating an environment that's ... Are there pointers that you can provide to give me a ... app, ... reasonable level of security? ...
    (comp.os.linux.security)
  • Re: Reading files >2GB
    ... 32-bit pointers? ... you need to rethink your app. ... int main ...
    (comp.os.linux.misc)
  • Re: 64b Windows - crashes not detected
    ... address in a 32-bit app running on Win64, but it requires actually having allocated ... at places where I had ever seen a null pointer dereference. ... I have found that some bugs in my code that would happily crash on 32bit windows (Invalid pointers) do not crash on 64bit. ...
    (microsoft.public.vc.mfc)
  • Re: VFP Objects for a beginner - help!
    ... Using your "Hello World" as an example, you'd start with a class definition ... Define Class myTextFileMaker As Session ... some of these paramterized functions in to objects that I can use ... VB .net programmer can drop in his app. ...
    (microsoft.public.fox.programmer.exchange)