Erreur sous visual studio "LNK2019"

Bonjour, j'ai éssayé de compiler les sources d'un programme sous visual c++ express 2005 et a la compilation j'ai ces erreurs :

Édition des liens en cours...
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__RemovePropA@8 référencé dans la fonction "long __stdcall _HyperlinkParentProc(struct HWND__ *,unsigned int,unsigned int,long)" (?_HyperlinkParentProc@@YGJPAUHWND__@@IIJ@Z)
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__SetWindowLongA@12 référencé dans la fonction "long __stdcall _HyperlinkParentProc(struct HWND__ *,unsigned int,unsigned int,long)" (?_HyperlinkParentProc@@YGJPAUHWND__@@IIJ@Z)
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__SetTextColor@8 référencé dans la fonction "long __stdcall _HyperlinkParentProc(struct HWND__ *,unsigned int,unsigned int,long)" (?_HyperlinkParentProc@@YGJPAUHWND__@@IIJ@Z)
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__CallWindowProcA@20 référencé dans la fonction "long __stdcall _HyperlinkParentProc(struct HWND__ *,unsigned int,unsigned int,long)" (?_HyperlinkParentProc@@YGJPAUHWND__@@IIJ@Z)
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__GetPropA@8 référencé dans la fonction "long __stdcall _HyperlinkParentProc(struct HWND__ *,unsigned int,unsigned int,long)" (?_HyperlinkParentProc@@YGJPAUHWND__@@IIJ@Z)
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__DeleteObject@4 référencé dans la fonction "long __stdcall _HyperlinkProc(struct HWND__ *,unsigned int,unsigned int,long)" (?_HyperlinkProc@@YGJPAUHWND__@@IIJ@Z)
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__SetCursor@4 référencé dans la fonction "long __stdcall _HyperlinkProc(struct HWND__ *,unsigned int,unsigned int,long)" (?_HyperlinkProc@@YGJPAUHWND__@@IIJ@Z)
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__LoadCursorA@8 référencé dans la fonction "long __stdcall _HyperlinkProc(struct HWND__ *,unsigned int,unsigned int,long)" (?_HyperlinkProc@@YGJPAUHWND__@@IIJ@Z)
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__CreateFontIndirectA@4 référencé dans la fonction "void __cdecl ConvertStaticToHyperlink(struct HWND__ *,unsigned int)" (?ConvertStaticToHyperlink@@YAXPAUHWND__@@I@Z)
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__GetObjectA@12 référencé dans la fonction "void __cdecl ConvertStaticToHyperlink(struct HWND__ *,unsigned int)" (?ConvertStaticToHyperlink@@YAXPAUHWND__@@I@Z)
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__SendMessageA@16 référencé dans la fonction "void __cdecl ConvertStaticToHyperlink(struct HWND__ *,unsigned int)" (?ConvertStaticToHyperlink@@YAXPAUHWND__@@I@Z)
prophetie.obj : error LNK2001: symbole externe non résolu __imp__SendMessageA@16
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__GetWindowLongA@8 référencé dans la fonction "void __cdecl ConvertStaticToHyperlink(struct HWND__ *,unsigned int)" (?ConvertStaticToHyperlink@@YAXPAUHWND__@@I@Z)
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__SetPropA@12 référencé dans la fonction "void __cdecl ConvertStaticToHyperlink(struct HWND__ *,unsigned int)" (?ConvertStaticToHyperlink@@YAXPAUHWND__@@I@Z)
hyperlinks.obj : error LNK2019: symbole externe non résolu __imp__GetDlgItem@8 référencé dans la fonction "void __cdecl ConvertStaticToHyperlink(struct HWND__ *,unsigned int)" (?ConvertStaticToHyperlink@@YAXPAUHWND__@@I@Z)
prophetie.obj : error LNK2001: symbole externe non résolu __imp__GetDlgItem@8
prophetie.obj : error LNK2019: symbole externe non résolu __imp__GetWindowTextA@12 référencé dans la fonction "int __stdcall StopOnT4CClientWnd(struct HWND__ *,long)" (?StopOnT4CClientWnd@@YGHPAUHWND__@@J@Z)
prophetie.obj : error LNK2019: symbole externe non résolu __imp__SetWindowPos@28 référencé dans la fonction "void __cdecl CenterWindow(struct HWND__ *)" (?CenterWindow@@YAXPAUHWND__@@@Z)
prophetie.obj : error LNK2019: symbole externe non résolu __imp__GetDesktopWindow@0 référencé dans la fonction "void __cdecl CenterWindow(struct HWND__ *)" (?CenterWindow@@YAXPAUHWND__@@@Z)
prophetie.obj : error LNK2019: symbole externe non résolu __imp__GetWindowRect@8 référencé dans la fonction "void __cdecl CenterWindow(struct HWND__ *)" (?CenterWindow@@YAXPAUHWND__@@@Z)
prophetie.obj : error LNK2019: symbole externe non résolu __imp__IsWindow@4 référencé dans la fonction "void __cdecl StartThread_Watchdog(void *)" (?StartThread_Watchdog@@YAXPAX@Z)
prophetie.obj : error LNK2019: symbole externe non résolu __imp__EnumWindows@8 référencé dans la fonction "void __cdecl StartThread_Watchdog(void *)" (?StartThread_Watchdog@@YAXPAX@Z)
prophetie.obj : error LNK2019: symbole externe non résolu __imp__EndDialog@8 référencé dans la fonction "void __cdecl StartThread_SendUDP(void *)" (?StartThread_SendUDP@@YAXPAX@Z)
prophetie.obj : error LNK2019: symbole externe non résolu __imp__MessageBoxA@16 référencé dans la fonction "void __cdecl StartThread_SendUDP(void *)" (?StartThread_SendUDP@@YAXPAX@Z)
prophetie.obj : error LNK2019: symbole externe non résolu __imp__EnableWindow@8 référencé dans la fonction "int __stdcall MainDialogProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MainDialogProc@@YGHPAUHWND__@@IIJ@Z)
prophetie.obj : error LNK2019: symbole externe non résolu __imp__GetDlgItemTextA@16 référencé dans la fonction "int __stdcall MainDialogProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MainDialogProc@@YGHPAUHWND__@@IIJ@Z)
prophetie.obj : error LNK2019: symbole externe non résolu __imp__SetDlgItemTextA@12 référencé dans la fonction "int __stdcall MainDialogProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MainDialogProc@@YGHPAUHWND__@@IIJ@Z)
prophetie.obj : error LNK2019: symbole externe non résolu __imp__LoadIconA@8 référencé dans la fonction "int __stdcall MainDialogProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MainDialogProc@@YGHPAUHWND__@@IIJ@Z)
prophetie.obj : error LNK2019: symbole externe non résolu __imp__DialogBoxParamA@20 référencé dans la fonction _WinMain@16
prophetie.obj : error LNK2019: symbole externe non résolu __imp__RegQueryValueExA@24 référencé dans la fonction _WinMain@16
prophetie.obj : error LNK2019: symbole externe non résolu __imp__RegOpenKeyExA@20 référencé dans la fonction _WinMain@16
prophetie.obj : error LNK2019: symbole externe non résolu __imp__RegCloseKey@4 référencé dans la fonction _WinMain@16
prophetie.obj : error LNK2019: symbole externe non résolu __imp__RegSetValueExA@24 référencé dans la fonction _WinMain@16
prophetie.obj : error LNK2019: symbole externe non résolu __imp__RegCreateKeyExA@36 référencé dans la fonction _WinMain@16
./Release/prophetie.exe : fatal error LNK1120: 32 externes non résolus

Je pense qu'ils me manque des librairies ce qui est tout a fait possible mais lesquels je sais pas, est ce que quelqu'un pourrais m'aider svp? C'est une application windows. Je vous en remercie d'avance.
Configuration: Windows XP
Internet Explorer 7.0

2 réponses

  • Votes
  • Date
  • Date décroissante
  1. supprimer les fichier .obj de votre projet et tu dois récupérer les fichier d'origine que tu as changé et rebuild de nouveau votre solution
    1. excuse moi. Avez vous trouvè un solution a ce problem? Je suis dans la meme situation: mon code c'est:
      ConvertStaticToHyperlink(GetSafeHwnd(), IDC_MY_HYPERLINK_CTL);

      la reponse est ugual.
      que c'est ce IDC_MY_HYPERLINK_CTL?
      mercie bien pour votre attention.
      regards
      Stefano