Bonjour, j'arrive pas à utiliser la commande ShellExecute().
La voici : ShellExecute(NULL,L"open",L"http://www.google.fr",NULL,NULL,SW_SHOWNORMAL);
J'ai un retour d'erreur suivant :
Erreur 2 error LNK2028: jeton non résolu (0A00000E) "extern "C" struct HINSTANCE__ * __stdcall ShellExecuteW(struct HWND__ *,wchar_t const *,wchar_t const *,wchar_t const *,wchar_t const *,int)" (?ShellExecuteW@@$$J224YGPAUHINSTANCE__@@PAUHWND__@@PB_W111H@Z) référencé dans la fonction "private: void __clrcall DieuClient::Form1::OnClickLancerIE(class System::Object ^,class System::EventArgs ^)" (?OnClickLancerIE@Form1@DieuClient@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z) DieuClient.obj
Erreur 3 error LNK2019: symbole externe non résolu "extern "C" struct HINSTANCE__ * __stdcall ShellExecuteW(struct HWND__ *,wchar_t const *,wchar_t const *,wchar_t const *,wchar_t const *,int)" (?ShellExecuteW@@$$J224YGPAUHINSTANCE__@@PAUHWND__@@PB_W111H@Z) référencé dans la fonction "private: void __clrcall DieuClient::Form1::OnClickLancerIE(class System::Object ^,class System::EventArgs ^)" (?OnClickLancerIE@Form1@DieuClient@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z) DieuClient.obj
Merci d'avance et bon courage
Partager