bonsoir à tous,
j'utilise c++ builder et j'ai besoin d'un coup de main, je souhaite créer un thread sous Windows qui m'exécute la fonction suivante toute les 10 sec:
Le problème est que je ne comprend pas grand chose au thread. merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 void verif() { String cmd = "ping " + serveur->Text; String ver = system(cmd.c_str()); if (ver == 0 ) {form5();} else{nomc->Text = "fuck "; } };
Partager