From: frenchc AT cadvision DOT com (Calvin French) Newsgroups: comp.os.msdos.djgpp Subject: Re: Try this one on for size Date: Fri, 18 Apr 1997 07:03:50 GMT Organization: CADVision Development Corp. Lines: 29 Message-ID: <5j8m4p$lk4@elmo.cadvision.com> References: <199704162029 DOT QAA02720 AT hcst DOT net> NNTP-Posting-Host: ts65ip67.cadvision.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk "Bryan Murphy" wrote: >Ok, here's something weird... I have a program that heavily uses pointers. > >However, I've thoroughly checked my pointer routines, and to the best of >my knowledge, they appear to be working properly. >If I run the program in Dos, I get a SigSegV right away after running the >program and it draws the screen. >If I run it in Windows 95 windowed, it runs for a while, then usually >craps >out on me giving me an invalid instruction. >If I run it in Windows 95, full screen, it keeps on happily chugging away >for hours on end with no apparent problems. >Any idea where I should even START looking for this one?? :) Other than >the pointers, it does a little twiddling with the timer (using a Library I >downloaded that worked fine when I tested it) and not much else. This sounds like a pointer problem. SIGSEGV means segmentation violation, which means you have tried to access memory that you don't have access to, so something isn't set properly. Could of course be the timer lib. - Calvin -