Bonjour,
Je souhaites créer une DLL.
J'ai un petit soucis ...
J'obtient ce genre de message d'erreur a l'edition des liens :
my_plugin1.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: __thiscall ExtDisp::ExternalDisplay::~ExternalDisplay(void)" (__imp_??1ExternalDisplay@ExtDisp@@QAE@XZ) référencé dans la fonction "public: void * __thiscall ExtDisp::ExternalDisplay::`scalar deleting destructor'(unsigned int)" (??_GExternalDisplay@ExtDisp@@QAEPAXI@Z)
my_plugin1.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall ExtDisp::ExternalDisplay::setDelay(unsigned short)" (__imp_?setDelay@ExternalDisplay@ExtDisp@@QAEXG@Z) référencé dans la fonction "public: virtual long __stdcall Cmy_plugin1::OnLoad(struct TPluginInfos *)" (?OnLoad@Cmy_plugin1@@UAGJPAUTPluginInfos@@@Z)
my_plugin1.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall ExtDisp::ExternalDisplay::SetDisplaySize(unsigned short,unsigned short)" (__imp_?SetDisplaySize@ExternalDisplay@ExtDisp@@QAEXGG@Z) référencé dans la fonction "public: virtual long __stdcall Cmy_plugin1::OnLoad(struct TPluginInfos *)" (?OnLoad@Cmy_plugin1@@UAGJPAUTPluginInfos@@@Z)
my_plugin1.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall ExtDisp::ExternalDisplay::SetWiring(enum LPTPIN,enum LPTPIN,enum LPTPIN,enum LPTPIN)" (__imp_?SetWiring@ExternalDisplay@ExtDisp@@QAEXW4LPTPIN@@000@Z) référencé dans la fonction "public: virtual long __stdcall Cmy_plugin1::OnLoad(struct TPluginInfos *)" (?OnLoad@Cmy_plugin1@@UAGJPAUTPluginInfos@@@Z)
my_plugin1.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) const ExtDisp::T6963C::`vftable'" (__imp_??_7T6963C@ExtDisp@@6B@) référencé dans la fonction "public: virtual long __stdcall Cmy_plugin1::OnLoad(struct TPluginInfos *)" (?OnLoad@Cmy_plugin1@@UAGJPAUTPluginInfos@@@Z)
my_plugin1.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: __thiscall ExtDisp::ExternalDisplay::ExternalDisplay(void)" (__imp_??0ExternalDisplay@ExtDisp@@QAE@XZ) référencé dans la fonction "public: virtual long __stdcall Cmy_plugin1::OnLoad(struct TPluginInfos *)" (?OnLoad@Cmy_plugin1@@UAGJPAUTPluginInfos@@@Z)
Release/my_plugin1.dll : fatal error LNK1120: 6 externes non résolus
Les fonctions que j'appelle se trouvent dans une autre librairie
libextdisp (je dispose donc d'un fichier libextdisp.lib, d'un libextdisp.dll, d'un libextdisp.a, libextdisp.def, libextdisp.exp) ...
Mais je ne sais pas quoi en faire et comment les inserer dans mon projet de facon a ce que l'editeur de lien trouvre ma librairie...
Je travail sous visual C++ (Studio .NET 2003).
Merci d'avance ;)
##########################
# Alphaspawnrider@Yohann
# alphaspawnrider@hotmail.com
##########################