cmem also work on Windows. It links against the msvcrt there.
Thanks for that (and also thanks for not shooting my observations down in flames, since some of the stuff I'm doing is probably somewhat out on a limb :-)
I've not really touched Windows for 15 years or so, but could probably do with taking another look at it at some point. I'm sure that I come across as a committed "unix head", but in actual fact I have considerable respect for the underlying NT-based architecture... and do remember that at one time you did some FPC stuff targeting it.
MarkMLl