Bonjour a tous,
Voila j'ai un petit souci. J'ai quand mm voulu essyer l'API
InternetGetConnectedState(). Mais voila, j'ai cette erreur qui aparait :
[Linker error] undefined reference to "InternetGetConnectState@8"
id returned 1 exit statut
Voici le code (minim :s ) je ne voi pas l'arreur :
int main(void){
DWORD dwData;
SetConsoleTitle("DETECTION DE CONNEXION INTERNET");
printf("\n Patientez...");
if((InternetGetConnectedState(&dwData,0))==TRUE){
printf("\n\t\t Votre ordinateur est bien connect%c",130);
}else{
printf("\n\t\t ERROR : Votre ordinateur n'est pas connect%c",130);
}
getch();
return 0;
}
Merci d'avance.