Path: utzoo!attcan!uunet!dino!sharkey!bnlux0!reilly From: reilly@bnlux0.bnl.gov (kevin reilly) Newsgroups: comp.sys.ibm.pc.programmer Subject: NULL pointer error Keywords: Null dos error Message-ID: <2008@bnlux0.bnl.gov> Date: 13 Jul 90 16:32:06 GMT Organization: Brookhaven National Lab Lines: 13 After exiting my program DOS writes an error to the screen NULL pointer error R6001 I understand the meaning of the error message but how do I go about debugging the program to find what is causing it. From reading the documentation from MicroSoft (QC2.5) the program will compile and link error free. But when run and then exited that is when the error will appear. The program ran error free up until I linked in the menu.obj file that came with the compiler. I guess the question is: What memory address do I watch when stepping through the program? Thank you in advance! reilly@bnlux0.bnl.gov