BOnjour,
Mreci de la réponse. alors voilà ce que j'ai d'abord:
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxver_.h(139) : fatal error C1189: #error : Please use the /MD switch for _AFXDLL builds
ensuite, après /MD ajouté à la ligne du compilateur j'ai:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| Compilation...
cl : Ligne de commande warning D4025 : substitution de '/MT' par '/MD'
StdAfx.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
Compilation...
cl : Ligne de commande warning D4025 : substitution de '/MT' par '/MD'
Compilation des ressources en cours...
Édition des liens en cours...
uafxcw.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall CWnd::PreSubclassWindow(void)" (?PreSubclassWindow@CWnd@@UAEXXZ) déjà défini(e) dans mfc71u.lib(MFC71U.DLL)
uafxcw.lib(wincore.obj) : error LNK2005: "protected: virtual void __thiscall CWnd::PostNcDestroy(void)" (?PostNcDestroy@CWnd@@MAEXXZ) déjà défini(e) dans mfc71u.lib(MFC71U.DLL)
uafxcw.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall CWnd::OnFinalRelease(void)" (?OnFinalRelease@CWnd@@UAEXXZ) déjà défini(e) dans mfc71u.lib(MFC71U.DLL)
etc....
Création de la bibliothèque .\..\..\Output\Release\lib\hookimpl/hookimpl.lib et de l'objet .\..\..\Output\Release\lib\hookimpl/hookimpl.exp
LINK : warning LNK4098: conflit entre la bibliothèque par défaut 'uafxcw.lib' et les autres bibliothèques ; utilisez /NODEFAULTLIB:library
uafxcw.lib(appcore.obj) : error LNK2001: symbole externe non résolu ___wargv
uafxcw.lib(appcore.obj) : error LNK2001: symbole externe non résolu ___argc |
J'ai rajouté enfin
dans les option du link et ça marche... mais je ne sais pas pourquoi et ça m'inquiète!! des explications ?
Merci d'avance !!
lbgl
Partager