Mail Archives: djgpp/1996/10/15/14:26:00
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 -