From: G DOT DegliEsposti AT ads DOT it To: djgpp AT delorie DOT com Message-ID: Date: Fri, 13 Feb 1998 09:48:35 +0100 Subject: Re: HELP!!!!!! CWSDPMI UNAVAILABLE Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Precedence: bulk >I have created serveral programs using ALLEGRO and DJGPP with Rhide on a >586 machine. They compile and execute correctly. When I attempt to run >then on a 386 machine they will not execute. I have included the >cwsdpmi.exe in the same directory as the program. This seems different from what the subject line suggests... :-) >One of the programs will show Title screen, but then crashes. It is not much information you give... :-) First of all: what are other differences between the two systems? If 586 runs win95 and 386 doesn't (I would like to see one :-) then it could be a problem within your program. The DPMI server within win95 doesn't catch null pointer references (ie it allows them without complaining) while cwsdpmi does and crashes in reply. Anyway, after the crash you should see a traceback printed on the screen. Post this here so that we can have a look at it. If you compile your program with debugging symbols (IIRC the -g switch) and then you can see the stack of function calls using the utility "symify". >Is the some type of setup that I am missing? I am not sure if it is important at runtime, but does the autoexec.bat contain a line looking like "set DJGPP=c:/djgpp/djgpp.env" ? ciao Giacomo