Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question#pragma data_seg("sec") LONG nCtApp = -1; #pragma data_seg() #pragma comment(linker, "/section:sec,rws")
if(InterlockedIncrement(&nCtApp)) { SetForegroundWindow(FindWindow(nom_de_la_fenêtre, NULL)); return 0; }