AllocDosObject first appeared in dos.library V36.
Note the fact that dos.library might be opened already.