Thibaut: > Je crois qu'il y a un ROM_CALL pour obtenir l'adresse de la table des handles.
Vrai sous AMS 2.xx ("HeapTable", ROM_CALL 441), mais ça n'existe pas sous AMS 1.xx.
tthdex contient le source d'une méthode marchant sur toutes les versions d'AMS:
//-------------------------------------------------------------------------
// get the handle table (thanks to Zeljko Juric for this trick !)
//-------------------------------------------------------------------------
handle_table = *(unsigned long**)(unsigned long)(*((HANDLE*)HeapDeref+4+AMS_2xx));