Bonjour, J'ai un problème avec cette fonction
Code C/C++ :
HWND hWnd = FindWindow(0, "Server Config");
qui est pourtant censée me renvoyer un Handle et pourtant j'ai une erreur qui dit
error C2440: 'initializing' : cannot convert from 'CWnd *' to 'HWND'
Je comprends pas car la fonction d'apres MSDn doit bien retourner un HWND et non pas CWnd *
le but étant au final d'utiliser la fonction
ShellExecute(hWnd, "explore", "D:\Data \Bureau_Old\Divers\Zic", NULL, NULL, SW_SHOWNORMAL);
merci pour votre aide,