Bon, bah ca compile mais ca fait n'imp
 
ma fonction c'est ca :
 
void MsgBox(HWND hWnd, char* Texte, char* Titre, ...)
{
 char buffer[256];
 
 // recuperation des arguments
 va_list arglist;
 va_start(arglist, Titre);
 
 // Formatage du message
 sprintf(buffer, Texte, arglist);
 
 // Affiche du message
 MessageBox(hWnd, buffer, Titre, MB_OK);
}
 
 
Seulement, quand je l'appelle avec MsgBox("Test %d %d",1,2) ca m'affiche :  
 
Test 6814944 6815144
 
ca ressemble pas vraiment à Test 1 2 .....
 
D'où vient le problème ?