starjab
Messages postés4Date d'inscriptionmardi 1 mars 2005StatutMembreDernière intervention 2 mars 2005
-
2 mars 2005 à 10:19
ymca2003
Messages postés2070Date d'inscriptionmardi 22 avril 2003StatutMembreDernière intervention 3 juillet 2006
-
2 mars 2005 à 11:30
bonjour ,
voilà un extrait de mon programme :
//On crée nos différents boutons
CreateWindowEx(0, //more or 'extended' styles
TEXT("BUTTON"), //'class' of control to create
TEXT("OK"), //the control caption
WS_CHILD|WS_VISIBLE, //control style: how it looks
305, //control position: left
100, //control position: top
40, //control width
30, //control height
hwnd, //parent window handle
BOUTON_OK, //control's ID
g_hInst, //application instance
NULL);
mais après compilation , j'obtient ce message:
_277 [Warning] passing arg 10 of `CreateWindowExA' makes pointer from integer without a cast
La ligne concernée correspond a celle du " NULL); "
Que puis-je faire ??