| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Protected mode differenc |
* Re:
dd. 05-12-96 18:54
to Denis Tonn
hi Daniel,
DT>> Can you give some specific examples of what Win95 is doing and the
DT>> same under OS/2?
DL> Yes, sure, although not the actual code, as it's been changed to
DL> take care of the problem. The problem was that I was
DL> inadvertently reading code from outside my allocated memory. Win95
DL> gave me a GPF; OS/2 Warp did not.
You're trashing your heap. Most OS/2 C compilers' Run Time Libraries will
let you do that freely, because it is very inefficient, and bad style, to
ask the OS for more memory at every malloc. Get a better Win compiler and
insert correct code: it's your heap, you own it and so it isn't any
bussiness of the OS if you want to trash it. Your current Win95 compiler
does not implement the C language model correctly: the heap ought to appear
to your program as one block, not little fragments.
groetjes,
hugo
--
E-mail: huug{at}poboxes.com
* Origin: Yet Another Nightfly Point (2:283/608.5)SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1 @PATH: 283/608 6 1 280/801 270/101 712/515 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.