Page 2 of 2

Posted: Thu Apr 08, 2004 1:16 pm
by freak
dontmailme wrote:I think maybe Fred should comment on this as he obviously knows what he's doing :)
.. so do I :P

Posted: Thu Apr 08, 2004 1:22 pm
by dontmailme
@freak

How come the API call to getprocessheap_() work then ? When you say it shouldn't ?

I'm sure fred could explain it, but you now have your chance ;)

Educate us :)

Posted: Thu Apr 08, 2004 3:12 pm
by freak
> How come the API call to getprocessheap_() work then ? When you say it shouldn't ?

I told you allready... :wink:
I guess this is an undocumented feature of windows. (that you can use 2 different heap handles and both work)
But i wouldn't count on it, who knows how different windows versions handle this.
It's just a M$ *feature*, nothing more.
(I'd still stick with _PB_MemoryBase though.. just to be sure)

Posted: Thu Apr 08, 2004 4:57 pm
by dontmailme
ok :)

I just thought this was very interesting behaviour and wanted to know more ;)

I might just RTFM one day :?