From: "Nicolas.GASNIER" Newsgroups: comp.os.msdos.djgpp Subject: Re: program compiles fine, exe crashes Date: Sat, 12 Jun 1999 14:35:45 +0200 Organization: Wanadoo, l'internet avec France Telecom Lines: 15 Message-ID: <7jtjsa$ieh$1@wanadoo.fr> References: <37619F7D DOT 3C619B7F AT golden DOT net> NNTP-Posting-Host: tntorl13-125.abo.wanadoo.fr X-Trace: wanadoo.fr 929190602 18897 164.138.23.125 (12 Jun 1999 12:30:02 GMT) X-Complaints-To: abuse AT wanadoo DOT fr NNTP-Posting-Date: 12 Jun 1999 12:30:02 GMT X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Try running you program under true DOS mode. When the program crashes, type symify _you_executable_file_with_the_extension. I'll print the names of the functions in the call stack : just note the first matching function (beginning by the top) that is in your program, and note the line number. Then just try a breakpoint in Rhide at this line to see variable status and so on. /*A similar problem I've encoutered is when loading bitmpaps. When passing filenames to these functions, don't use string constants, but string variables. I don't know why, but it solved my problem.*/ The program don't always crash in Win because, I think, Windows does'nt handle all programs exceptions.