Article View: comp.windows.ms.programmer
Article #1406Re: win3kit.com
From: Andrei Davydov
Date: Thu, 21 Feb 1991 14:02
Date: Thu, 21 Feb 1991 14:02
43 lines
2365 bytes
2365 bytes
In article <1991Feb20.025831.8890@aero.org> jordan@aero.org (Larry M. Jordan) writes:
>Will my floating point problems go away after this? Just what
>happens when I use floating point and link as follows?
>
> link appname,,/nod slibcew libw zls pls
>
>Whose emulator am I getting (I have no 80x87)? SDK's, Zortech's or
>a little of both?! Petzold's freemem.c example (which computes
>available virtual memory as a floating point) causes that all
>too familiar screen to appear (which in effect says "Terminating
>ill-behaved application..." when compiled with Zortech, but behaves
>fine when FP ops are replaced with fixed point ops.
>
Hi! I sow something about problem like yours in article
<1991Feb15.110703.18147@watserv1.waterloo.edu> with subject
"Frequently Asked Questions, comp.windows.ms.programmer edition" from
Tom Haapanen:
11. Why does compiling a Windows application with emulator floating-point
cause corrupted code segments when running on a non-87 machine?
>> The emulated floating point tries to used the coprocessor. When it does
not find one on startup, it patches the code to use the software floating
point. Patching does however not adapt the code-segment checksum, thus
the windows debugging version chokes when it horridly founds that some-
thing terrible must have happened to the code.
Get rid of it by setting 'EnableSegmentChecksum=0' in the [debug]
section of WIN.INI; the problem only affects debugging versions of
Windows.
--------------------
May be it helps!
Andrei
--
---------------------------------------------------------------------------
Andrei Davydov <andreid@jvd.msk.su> Phone: +7 095 328-1327
JV Dialogue, Moscow, USSR Fax: +7 095 329-4711
Technical Details
Message-ID:
<1991Feb21.140259.19613@jvd.msk.su>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!samsung!uakari.primate.wisc.edu!crdgw1!rpi!uupsi!sunic!fuug!demos!jvdrd!andreidReferences:
<1991Feb20.025831.8890@aero.org>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!samsung!uakari.primate.wisc.edu!crdgw1!rpi!uupsi!sunic!fuug!demos!jvdrd!andreid From: andreid@jvd.msk.su (Andrei Davydov) Newsgroups: comp.windows.ms.programmer Subject: Re: win3kit.com Summary: Floating point Message-ID: <1991Feb21.140259.19613@jvd.msk.su> Date: 21 Feb 91 14:02:59 GMT References: <1991Feb20.025831.8890@aero.org> Reply-To: andreid@jvd.msk.su (Andrei Davydov) Organization: JV Dialogue, Moscow, USSR Lines: 43