Bonjour,
J'ai �crit une ligne de programme pour impl�menter WIA dans un programme Visual C++ 2005 express mais d�s la premiere ligne de code j'ai une erreur de link, avez-vous une id�e car cela fait 3 jours que je cherche sur le net sans solution ?
Merci de l'aide apport�e aux novices dont je fais partie![]()
D�tail du code qui g�n�re l'erreur :
void CWiaVideo::CreationInstance(IWiaDevMgr **ppWiaDevMgr )
{
HRESULT hr = CoInitialize(NULL);
}
ERREUR DE LINKAGE extraite de VIsual C++ express
�dition des liens en cours...
WiaVideo.obj : error LNK2028: jeton non r�solu (0A00000E) "extern "C" long __stdcall CoInitialize(void *)" (?CoInitialize@@$$J14YGJPAX@Z) r�f�renc� dans la fonction "public: static void __cdecl CWiaVideo::CreationInstance(struct IWiaDevMgr * *)" (?CreationInstance@CWiaVideo@@$$FSAXPAPAUIWiaDevMgr@@@Z)
WiaVideo.obj : error LNK2019: symbole externe non r�solu "extern "C" long __stdcall CoInitialize(void *)" (?CoInitialize@@$$J14YGJPAX@Z) r�f�renc� dans la fonction "public: static void __cdecl CWiaVideo::CreationInstance(struct IWiaDevMgr * *)" (?CreationInstance@CWiaVideo@@$$FSAXPAPAUIWiaDevMgr@@@Z)
Partager