Re: Strings and PChars
13 Oct
1997
13 Oct
'97
1:51 p.m.
The African Chief wrote:
Now, that is the interesting bit. Both permutations give a wrong result in BP (DOS real mode and DOS DPMI), but give correct results in BP (Windows) and GPC (DJGPP). Shouldn't they all behave the same?
Not really. Since they're relying on more or less undefined things (such as the contents of the stack area next to some parameter), the behaviour can easily be different on different platforms. It could even be different on the same platform (e.g. in Dos when loaded at different addresses -- or under a debugger). That's the kind of bugs that's hard to track. -- Frank Heckenbach, Erlangen, Germany heckenb@mi.uni-erlangen.de http://home.pages.de/~fjf/links.htm
10535
Age (days ago)
10535
Last active (days ago)
0 comments
1 participants
participants (1)
-
Frank Heckenbach