3 ms·
This was my first thought too. For extra confusion, Mac handles were pointers to pointers managed by the OS while on Windows, a "handle" just meant a pointer to
by pavlov 8y ago
This was my first thought too. For extra confusion, Mac handles were pointers to pointers managed by the OS while on Windows, a "handle" just meant a pointer to a struct.
- Koshkin 8y ago> Windows Originally, a handle was an index in a table of allocated memory blocks; the idea was to be able to move these blocks around without affecting the program.
- pavlov 8y agoOk, like handles on Mac OS then. Maybe they saw that this idea didn't work out so great on the Mac.
- brandonbloom 8y agoIt worked out fine for 16 bit systems and the like, just as it did on the Mac. As machines became more powerful, the need for this technique disappeared.
- johntb86 8y agoThey didn't have much choice at the time: https://blogs.msdn.microsoft.com/oldnewthing/20041104-00/?p=37393 https://blogs.msdn.microsoft.com/oldnewthing/20041104-00/?p=...
- lactoferment 8y agoThese books always reminded me of the Dungeons and Dragons manuals...