"un tuto qui jure..." si tu as des doutes su une API, etc
consulte la doc, c'est LE reflex (avant google et ce forum)
"Return Value
Returns a value greater than 32 if successful, or an error value that is less than or equal to 32 otherwise. The following table lists the error values. The return value is cast as an HINSTANCE for backward compatibility with 16-bit Windows applications. It is not a true HINSTANCE, however. The only thing that can be done with the returned HINSTANCE is to cast it to an int and compare it with the value 32 or one of the error codes below."
cs_EBArtSoft
Messages postés4525Date d'inscriptiondimanche 29 septembre 2002StatutModérateurDernière intervention22 avril 20199 23 juil. 2007 à 10:44
Bon je recommence (suite suppression involontaire du message)
En gros ça disait : un handle est un therme generique qui designe un identifiant d'un objet systeme. Cela peut etre un n° de fichier, de memoire, de graphique, de connexion reseau. Donc avant de lancer une api sur un handle mieu vaux savoir quel type de handle on manipule.