delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/15/14:26:00

From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
To: 100324 DOT 3051 AT compuserve DOT com, djgpp AT delorie DOT com
Subject: cwsdpmi error?
Date: Tue, 15 Oct 1996 14:55:08 +0300 (GMT)
Message-ID: <9610151455.aa11853@ailin.inti.edu.ar>

Hi Vetro, here SET from Argentina:

>Hello,
>My problem is that when I run a program under windows 3.11 that was compiled
>with gcc v2, it runs OK, but if I try to run under DOS with cwsdpmi the program
>fails with a SIGSEGV error(?).
>I tried what the FAQ said, that crt0.h thing, but it does it always. Sometimes
>the fsdb doesn't run but sends a message about exception error.
>What should I do now?

The most common problem is: You are dereferencing a NULL pointer, Win 3.11 
doesn't protect your program against this (because is DPMI 0.9) but CWSDPMI yes 
(is a little DPMI 1.0 :-) but Charles can explain that better.

SET

********************************************************************************
Salvador Eduardo Tropea (SET) - salvador AT inti DOT edu DOT ar
Work: INTI (National Institute of Industrial Technology) Sector: ICE 
(Electronic Control & Instrumentation)
Post (Home): Curapaligue 2124 - Caseros (1678)- Buenos Aires - Argentina 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019