Error LNK2001: unresolved external symbol

OverOver Messages postés 7 Date d'inscription mercredi 14 mai 2008 Statut Membre Dernière intervention 6 juin 2008 - 2 juin 2008 à 13:06
OverOver Messages postés 7 Date d'inscription mercredi 14 mai 2008 Statut Membre Dernière intervention 6 juin 2008 - 6 juin 2008 à 10:21
Bonjour,
Je dois utiliser un projet c++ en tant que DLL dans Labview.


J'ai donc crée une application DLL (sous Win32 Dynamic-Link Library) auquel j'ai ajouté mes codes ( sources .c et .h)


Mais à la compilationun bonne cinquantaine d'erreurs du type:


error LNK2001: unresolved external symbol "public: void * __thiscall Bvc::CDib::GetPixels(void)const " ([mailto:?GetPixels@CDib@Bvc@@QBEPAXXZ ?GetPixels@CDib@Bvc@@QBEPAXXZ])


Pourtant j'ai bien ajouté dans Outils/Options/Directories.Include ) le programme BvcDib.h.


Quelqu'un pourrait-il m'aider ??

11 réponses

Pistol_Pete Messages postés 1053 Date d'inscription samedi 2 octobre 2004 Statut Membre Dernière intervention 9 juillet 2013 7
2 juin 2008 à 13:16
Salut

As tu inclus la dll en question ou sont definie toutes les fonctions du style GetPixel?

#pragma comment(lib,"BvcDib.dll)

A+
0
OverOver Messages postés 7 Date d'inscription mercredi 14 mai 2008 Statut Membre Dernière intervention 6 juin 2008
2 juin 2008 à 16:24
Merci de ta réponse Pistol-Pete,

j'ai bien mis BvcDib.h dans mon programme:

#pragma once
#include
#include
#include
using namespace Bvc;

Je m'explique,
Au départ ce projet était destiné a visualiser une camera connecté au PC gràace à un bus 1394. Donc il renvoyait un .exe avec une fenetre windows permettant de regler les paramètres de la camera.
Puis, j'ai voulu controler l'acquisition d'images grâce à un Trigger, j'ai pensé à exporter les fonctions sous forme d'une DLL manipulable avec Labview.

L'ensemble du projet marche très bien en MFC AppWizard (exe )
Mais pas quand j'ai voulu créer ma DLL avec MFCAppWizard (dll), je compile bien mais j'ai un pb d'édition de leins, d'ou l'erreur LNK2001.
J'ai aussi essayé avec une Win32 Dynamic-Link Library.. mm resultat
0
Pistol_Pete Messages postés 1053 Date d'inscription samedi 2 octobre 2004 Statut Membre Dernière intervention 9 juillet 2013 7
2 juin 2008 à 17:27
Ok tu as ajouter le point h, c'est un debut, ton compilo pourra savoir s'il y a des erreurs de syntaxe ou non. Mais il faut aussi indiquer ou se trouve le code de ses fonctions.

Si le code correspondant a ton fichier .h se trouve dans une dll, il faut l'indiquer au compilo avec un pragma once

A+
0
OverOver Messages postés 7 Date d'inscription mercredi 14 mai 2008 Statut Membre Dernière intervention 6 juin 2008
3 juin 2008 à 10:56
Ya pa d'erreurs, je compile l'ensemble des sources sans pb. Je crois que le pb se trouve au niveau de l'édition de liens ( d'ou LNK). Et comme je l'ai dejà dit, le projet fontionne parfaitement en sortie .exe mais pas en application DLL.

Mes fichiers .h ne se trouvent pas dans une dll, j'ai bien spécifié le chemin des .h avec pragma once.
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
cs_juju12 Messages postés 966 Date d'inscription samedi 3 avril 2004 Statut Membre Dernière intervention 4 mars 2010 4
3 juin 2008 à 18:37
tu peux mettre le code de la fonction qui utilise ::GetPixels()? Peut-être cela sera-t-il plus clair.
D'autre part je suppose que tu as bien implémenté
void * __thiscall Bvc::CDib::GetPixels(void)const
dans un .c inclus au projet? bien avec le const (je demande on sait jamais)?
0
OverOver Messages postés 7 Date d'inscription mercredi 14 mai 2008 Statut Membre Dernière intervention 6 juin 2008
3 juin 2008 à 19:18
merci juju pr ta réponse,

GetPixels se trouve dans bvcdib.h, comment je peux mettre le code de la fonction ??

En fait je n'arrive pas à faire le lien avec des fichiers.h: bcam.h et bvcdib.h
Pourtant ils sont bien dans External dependance.

Je ne suis pas un expert en C++, mais ça fait des semaines que je traine avec ça.
0
cs_juju12 Messages postés 966 Date d'inscription samedi 3 avril 2004 Statut Membre Dernière intervention 4 mars 2010 4
3 juin 2008 à 20:09
ouais mais attends : dans un .h t'as des déclarations, pas le contenu des fonctions; où est-il? Dans un .c ou .cpp(dans ce cas l'as-tu joint au projet) ou dans un .lib (dans ce cas l'as-tu ajouté au projet avec comme proposait Pete, #pragma comment(lib,"BvcDib.lib") ou quelque soit son nom) ou dans une dll externe?
ce que je comprends pas c'est que t'arrives à compiler en exe et pas en dll
t'es sûr d'avoir bien copié toutes les références entre les deux (pas seulement les .h mais aussi les .lib, dans directories.library) ?
0
OverOver Messages postés 7 Date d'inscription mercredi 14 mai 2008 Statut Membre Dernière intervention 6 juin 2008
4 juin 2008 à 09:42
Juju12, j'ai bien BvcDib.h et Bcam.h dans le repertoire INC/
Mais dans LIB/ je ne vois que BcamApiAtl7.lib, BcamApiMfc7.lib, BvcDibAtl.lib et BcvDibMfr7.lib

Est-ce normal que je n'ai pas Bcam.lib et BvcDib.lib ??

Et pourquoi ça marcherait avec un .exe  ?

Je vous copie la liste d'erreur:

Compiling...
MainFrame.cpp
stdafx.cpp
StoreAVI.cpp
Linking...
MainFrame.obj : error LNK2001: unresolved external symbol "public: __thiscall Bcam::BcamException::BcamException(unsigned long,class WTL::CString,char * *)" (
[mailto:??0BcamException@Bcam@@QAE@KVCString@WTL@@PAPAD@Z ??0BcamException@Bcam@@QAE@KVCString@WTL@@PAPAD@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bcam::CBcam::CContinuousShot::operator=(bool)" (
[mailto:??4CContinuousShot@CBcam@Bcam@@QAEX_N@Z ??4CContinuousShot@CBcam@Bcam@@QAEX_N@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bcam::CBcam::GrabImageAsync(void *,unsigned int,void *,bool)" (
[mailto:?GrabImageAsync@CBcam@Bcam@@QAEXPAXI0_N@Z ?GrabImageAsync@CBcam@Bcam@@QAEXPAXI0_N@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void * __thiscall Bvc::CDib::GetPixels(void)const " (
[mailto:?GetPixels@CDib@Bvc@@QBEPAXXZ ?GetPixels@CDib@Bvc@@QBEPAXXZ
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall Bcam::CBcam::AllocateResources(unsigned long,unsigned long,unsigned long)" (
[mailto:?AllocateResources@CBcam@Bcam@@QAEKKKK@Z ?AllocateResources@CBcam@Bcam@@QAEKKKK@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bcam::CBcam::CFormatSeven::_FormatSeven::CBytePerPacket::operator=(unsigned long)" (
[mailto:??4CBytePerPacket@_FormatSeven@CFormatSeven@CBcam@Bcam@@QAEXK@Z ??4CBytePerPacket@_FormatSeven@CFormatSeven@CBcam@Bcam@@QAEXK@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall Bcam::CBcam::CFormatSeven::_FormatSeven::CBytePerPacket::Max(void)" (
[mailto:?Max@CBytePerPacket@_FormatSeven@CFormatSeven@CBcam@Bcam@@QAEKXZ ?Max@CBytePerPacket@_FormatSeven@CFormatSeven@CBcam@Bcam@@QAEKXZ
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bcam::CBcam::CFormatSeven::_FormatSeven::CImageSize::operator=(class WTL::CSize)" (
[mailto:??4CImageSize@_FormatSeven@CFormatSeven@CBcam@Bcam@@QAEXVCSize@WTL@@@Z ??4CImageSize@_FormatSeven@CFormatSeven@CBcam@Bcam@@QAEXVCSize@WTL@@@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bcam::CBcam::CFormatSeven::_FormatSeven::CImagePosition::operator=(class WTL::CPoint)" (
[mailto:??4CImagePosition@_FormatSeven@CFormatSeven@CBcam@Bcam@@QAEXVCPoint@WTL@@@Z ??4CImagePosition@_FormatSeven@CFormatSeven@CBcam@Bcam@@QAEXVCPoint@WTL@@@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: class WTL::CSize  __thiscall Bcam::CBcam::CFormatSeven::_FormatSeven::MaxSize(void)" (
[mailto:?MaxSize@_FormatSeven@CFormatSeven@CBcam@Bcam@@QAE?AVCSize@WTL@@XZ ?MaxSize@_FormatSeven@CFormatSeven@CBcam@Bcam@@QAE?AVCSize@WTL@@XZ
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: class WTL::CString  __thiscall Bcam::CBcam::CInfo::ModelName(void)" (
[mailto:?ModelName@CInfo@CBcam@Bcam@@QAE?AVCString@WTL@@XZ ?ModelName@CInfo@CBcam@Bcam@@QAE?AVCString@WTL@@XZ
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: class WTL::CString  __thiscall Bcam::CBcam::CInfo::NodeId(void)" (
[mailto:?NodeId@CInfo@CBcam@Bcam@@QAE?AVCString@WTL@@XZ ?NodeId@CInfo@CBcam@Bcam@@QAE?AVCString@WTL@@XZ
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bcam::CBcam::CFormatSeven::_FormatSeven::CColorCoding::operator=(enum _DCS_COLOR_CODES)" (
[mailto:??4CColorCoding@_FormatSeven@CFormatSeven@CBcam@Bcam@@QAEXW4_DCS_COLOR_CODES ??4CColorCoding@_FormatSeven@CFormatSeven@CBcam@Bcam@@QAEXW4_DCS_COLOR_CODES
]
@@@Z)
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bcam::CBcam::SetVideoMode(enum Bcam::DCSVideoFormat,enum Bcam::DCSVideoMode,enum Bcam::DCSVideoFrameRate)" (
[mailto:?SetVideoMode@CBcam@Bcam@@QAEXW4DCSVideoFormat@2@W4DCSVide ?SetVideoMode@CBcam@Bcam@@QAEXW4DCSVideoFormat@2@W4DCSVide
]
[mailto:oMode@2@W4DCSVideoFrameRate@2@@Z oMode@2@W4DCSVideoFrameRate@2@@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bcam::CBcam::Open(class WTL::CString,struct HWND__ *)" (
[mailto:?Open@CBcam@Bcam@@QAEXVCString@WTL@@PAUHWND__@@@Z ?Open@CBcam@Bcam@@QAEXVCString@WTL@@PAUHWND__@@@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: static class std::list<class WTL::CString,class std::allocator<class WTL::CString> >  __cdecl Bcam::CBcam::DeviceNames(void)" (
[mailto:?DeviceNames@CBcam@Bcam@@SA?AV?$list@VCString@WTL@@V?$a ?DeviceNames@CBcam@Bcam@@SA?AV?$list@VCString@WTL@@V?$a
]
[mailto:llocator@VCString@WTL@@@std@@@std@@XZ llocator@VCString@WTL@@@std@@@std@@XZ
])
MainFrame.obj : error LNK2001: unresolved external symbol
[mailto:_AVIFileExit@0 _AVIFileExit@0
]
MainFrame.obj : error LNK2001: unresolved external symbol
[mailto:_AVIFileRelease@4 _AVIFileRelease@4
]
MainFrame.obj : error LNK2001: unresolved external symbol
[mailto:_AVIStreamWrite@32 _AVIStreamWrite@32
]
MainFrame.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall Bvc::CDib::GetWidthBytes(void)const " (
[mailto:?GetWidthBytes@CDib@Bvc@@QBEKXZ ?GetWidthBytes@CDib@Bvc@@QBEKXZ
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bvc::CDib::GetSize(class WTL::CSize *)const " (
[mailto:?GetSize@CDib@Bvc@@QBEXPAVCSize@WTL@@@Z ?GetSize@CDib@Bvc@@QBEXPAVCSize@WTL@@@Z
])
StoreAVI.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bvc::CDib::GetSize(class WTL::CSize *)const " (
[mailto:?GetSize@CDib@Bvc@@QBEXPAVCSize@WTL@@@Z ?GetSize@CDib@Bvc@@QBEXPAVCSize@WTL@@@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: enum Bvc::CDib::Orientation_t  __thiscall Bvc::CDib::GetOrientation(void)const " (
[mailto:?GetOrientation@CDib@Bvc@@QBE?AW4Orientation_t@12@XZ ?GetOrientation@CDib@Bvc@@QBE?AW4Orientation_t@12@XZ
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bcam::CBcam::WaitForCompletion(enum Bcam::FunctionCode_t *,unsigned long *,void * *,unsigned long)" (
[mailto:?WaitForCompletion@CBcam@Bcam@@QAEXPAW4FunctionCode_t@2@PAKPAPAXK ?WaitForCompletion@CBcam@Bcam@@QAEXPAW4FunctionCode_t@2@PAKPAPAXK
]
@Z)
MainFrame.obj : error LNK2001: unresolved external symbol
[mailto:_AVIStreamSetFormat@16 _AVIStreamSetFormat@16
]
MainFrame.obj : error LNK2001: unresolved external symbol "public: class Bvc::CDib * __thiscall Bvc::CDib::Clone(bool)const " (
[mailto:?Clone@CDib@Bvc@@QBEPAV12@_N@Z ?Clone@CDib@Bvc@@QBEPAV12@_N@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bvc::CDib::GetBitmapInfo(struct tagBITMAPINFO * *,unsigned long *)const " (
[mailto:?GetBitmapInfo@CDib@Bvc@@QBEXPAPAUtagBITMAPINFO@@PAK@Z ?GetBitmapInfo@CDib@Bvc@@QBEXPAPAUtagBITMAPINFO@@PAK@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol
[mailto:_AVIStreamRelease@4 _AVIStreamRelease@4
]
MainFrame.obj : error LNK2001: unresolved external symbol
[mailto:_AVIMakeCompressedStream@16 _AVIMakeCompressedStream@16
]
MainFrame.obj : error LNK2001: unresolved external symbol
[mailto:_AVISaveOptions@20 _AVISaveOptions@20
]
MainFrame.obj : error LNK2001: unresolved external symbol
[mailto:_AVIFileCreateStreamA@12 _AVIFileCreateStreamA@12
]
MainFrame.obj : error LNK2001: unresolved external symbol "public: class WTL::CSize  __thiscall Bvc::CDib::GetSize(void)const " (
[mailto:?GetSize@CDib@Bvc@@QBE?AVCSize@WTL@@XZ ?GetSize@CDib@Bvc@@QBE?AVCSize@WTL@@XZ
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall Bvc::CDib::GetTotalPixelBytes(void)const " (
[mailto:?GetTotalPixelBytes@CDib@Bvc@@QBEKXZ ?GetTotalPixelBytes@CDib@Bvc@@QBEKXZ
])
MainFrame.obj : error LNK2001: unresolved external symbol
[mailto:_AVIFileOpenA@16 _AVIFileOpenA@16
]
MainFrame.obj : error LNK2001: unresolved external symbol
[mailto:_AVIFileInit@0 _AVIFileInit@0
]
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bcam::CBcam::Notify(enum Bcam::FunctionCode_t,void *)" (
[mailto:?Notify@CBcam@Bcam@@QAEXW4FunctionCode_t@2@PAX@Z ?Notify@CBcam@Bcam@@QAEXW4FunctionCode_t@2@PAX@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bcam::CBcam::Close(void)" (
[mailto:?Close@CBcam@Bcam@@QAEXXZ ?Close@CBcam@Bcam@@QAEXXZ
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bvc::CDib::StoreBMP(class WTL::CString)const " (
[mailto:?StoreBMP@CDib@Bvc@@QBEXVCString@WTL@@@Z ?StoreBMP@CDib@Bvc@@QBEXVCString@WTL@@@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Bvc::CDib::CopyToClipboard(void)" (
[mailto:?CopyToClipboard@CDib@Bvc@@QAEXXZ ?CopyToClipboard@CDib@Bvc@@QAEXXZ
])
MainFrame.obj : error LNK2001: unresolved external symbol "protected: static class Bvc::CDib * __cdecl Bvc::CDib::Create(class WTL::CSize,unsigned int,enum Bvc::CDib::Orientation_t,enum Bvc::CDib::PaletteType_t)" (
[mailto:?Create@CDib@Bvc@@KAPAV12@VCSize@WT ?Create@CDib@Bvc@@KAPAV12@VCSize@WT
]
[mailto:L@@IW4Orientation_t@12@W4PaletteType_t@12@@Z L@@IW4Orientation_t@12@W4PaletteType_t@12@@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "protected: static class Bvc::CDib * __cdecl Bvc::CDib::LoadBMP(class WTL::CString)" (
[mailto:?LoadBMP@CDib@Bvc@@KAPAV12@VCString@WTL@@@Z ?LoadBMP@CDib@Bvc@@KAPAV12@VCString@WTL@@@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "protected: void __thiscall Bvc::CDib::Release(void)" (
[mailto:?Release@CDib@Bvc@@IAEXXZ ?Release@CDib@Bvc@@IAEXXZ
])
StoreAVI.obj : error LNK2001: unresolved external symbol "protected: void __thiscall Bvc::CDib::Release(void)" (
[mailto:?Release@CDib@Bvc@@IAEXXZ ?Release@CDib@Bvc@@IAEXXZ
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: __thiscall Bvc::BvcException::BvcException(unsigned long,class WTL::CString,char * *)" (
[mailto:??0BvcException@Bvc@@QAE@KVCString@WTL@@PAPAD@Z ??0BvcException@Bvc@@QAE@KVCString@WTL@@PAPAD@Z
])
StoreAVI.obj : error LNK2001: unresolved external symbol "public: __thiscall Bvc::BvcException::BvcException(unsigned long,class WTL::CString,char * *)" (
[mailto:??0BvcException@Bvc@@QAE@KVCString@WTL@@PAPAD@Z ??0BvcException@Bvc@@QAE@KVCString@WTL@@PAPAD@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "protected: long __thiscall Bvc::CDib::AddRef(void)" (
[mailto:?AddRef@CDib@Bvc@@IAEJXZ ?AddRef@CDib@Bvc@@IAEJXZ
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Bvc::CColorConverter::ConvertMono8ToRGB(class Bvc::CDibPtr &,class Bvc::CDibPtr const &,enum Bvc::CColorConverter::PatternOrigin_t)" (
[mailto:?ConvertMono8ToRGB@CColorCon ?ConvertMono8ToRGB@CColorCon
]
[mailto:verter@Bvc@@SAXAAVCDibPtr@2@ABV32@W4PatternOrigin_t@12@@Z verter@Bvc@@SAXAAVCDibPtr@2@ABV32@W4PatternOrigin_t@12@@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "public: __thiscall Bcam::BcamException::BcamException(unsigned long,class WTL::CString,void *)" (
[mailto:??0BcamException@Bcam@@QAE@KVCString@WTL@@PAX@Z ??0BcamException@Bcam@@QAE@KVCString@WTL@@PAX@Z
])
MainFrame.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall Bcam::BcamException::FormatMessageA(class WTL::CString const &,char * *)" (
[mailto:?FormatMessageA@BcamException@Bcam@@MAEXABVCString@WTL@@PAPAD@Z ?FormatMessageA@BcamException@Bcam@@MAEXABVCString@WTL@@PAPAD@Z
])
StoreAVI.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Bcam::CBcam::~CBcam(void)" (
[mailto:??1CBcam@Bcam@@UAE@XZ ??1CBcam@Bcam@@UAE@XZ
])
StoreAVI.obj : error LNK2001: unresolved external symbol "public: __thiscall Bcam::CBcam::CBcam(void)" (
[mailto:??0CBcam@Bcam@@QAE@XZ ??0CBcam@Bcam@@QAE@XZ
])
StoreAVI.obj : error LNK2001: unresolved external symbol "public: struct HBITMAP__ * __thiscall Bvc::CDib::GetBitmapHandle(void)const " (
[mailto:?GetBitmapHandle@CDib@Bvc@@QBEPAUHBITMAP__@@XZ ?GetBitmapHandle@CDib@Bvc@@QBEPAUHBITMAP__@@XZ
])
STOREAVI5___Win32_Debug/STOREAVI5.dll : fatal error LNK1120: 49 unresolved externals
Error executing link.exe.




STOREAVI5.dll - 53 error(s), 0 warning(s)
0
cs_juju12 Messages postés 966 Date d'inscription samedi 3 avril 2004 Statut Membre Dernière intervention 4 mars 2010 4
4 juin 2008 à 12:20
ben je suppose que tu as fait deux projets, un exe et une dll?
Dans ce cas est-ce-que TOUTES les libs répertoriées (dans /LIB) dans le projet exe le sont bien également dans le projet dll?
Pour  BvcDib.lib non non je disais ce nom au hasard mais ça doit être les autres BvcDibFr7.lib etc...

En dernier recours si tu veux je t'enverrai mon mail par message privé, tu m'enverras tes deux projets et je regarderai;
0
OverOver Messages postés 7 Date d'inscription mercredi 14 mai 2008 Statut Membre Dernière intervention 6 juin 2008
4 juin 2008 à 13:03
J'ai crée un application dll, car je croyais qu'onne peut pas exporter les fonctions d'un d'une application .exe. mais si c'est possible j'aimerais savoir comment.

Je pourrais également t'envoyer le projet par mail mais tu ne pourra pas le compiler car le prog doit detecter la camera. Mais bon si ça peut me permettre d'y voir plus clair pourquoi pas

dsl mais j'ai du mal avec c++ ( que j'ai utilisé que quelques mois en école d'ing)... j'aurais jamasi imaginé une réutilisation... ça m'apprendra...
0
OverOver Messages postés 7 Date d'inscription mercredi 14 mai 2008 Statut Membre Dernière intervention 6 juin 2008
6 juin 2008 à 10:21
Prolème résolu gràce à juju12





J'ai finalement pu créer ma dll en incluant à la main les librairies manquantes:

Dans Project/setting/Link/general/Object/Librairies Modules:

bvcdibwtld.lib bcamapiwtld.lib version.lib Vfw32.lib setupapi.lib

Et ça a marché ....

Apparement j'avais pas les mêmes options (chemins d'accès fichiers inc,lib etc) entre une application .exe et une application dll.

Encore un grand merci à juju12 et Pistol_Pete
0
Rejoignez-nous