   error:   0xC0000005
  I have been working on some code using visual c++.  Everything has been fine but I decided to add some 3Dtext using DirectX9.0.I can't figure out what is causing the problem.  I have deleted all new line and added one by one until the error comes.  When I add the line ,RECT FontPosition, I get error 0xC0000005 access violation. It is used as a global.  I can't see why this declaration would generate this error.  Anyone have any thoughts.    [edited by - RP Smith on February 15, 2004 6:36:06 PM]
  That should be renamed to the "You Tried to dereference a null pointer" error.  Because that''s the only way I''ve gotten that error to occur.  Check any code around that portion that might be trying to dereference a pointer that is null.  Put assertions in your code. ;  Could you post some code, perhaps?  It''s hard to identify your problem from what you have, other than you are trying to access memory that is null. 