I am testing my Dicom project developed by Visual C++6.0 in Leadtools Eval 15, and I have copied all the leadtools .lib files and .dll files into my project directory. However, these mistake is always presented by VC++ Linker.
.......
error LNK2001: unresolved external symbol "public: virtual int __thiscall LBitmapBase::Load(char *,int,int,struct _LOADFILEOPTION *,struct _FILEINFOA *)" (?Load@LBitmapBase@@UAEHPADHHPAU_LOADFILEOPTION@@PAU_FILEINFOA@@@Z)
error LNK2001: unresolved external symbol "public: virtual int __thiscall LBitmapBase::Load(char *,int,int,struct _LOADFILEOPTION *,struct _FILEINFOA *)" (?Load@LBitmapBase@@UAEHPADHHPAU_LOADFILEOPTION@@PAU_FILEINFOA@@@Z)
reportview.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall LBitmapBase::Load(char *,int,int,struct _LOADFILEOPTION *,struct _FILEINFOA *)" (?Load@LBitmapBase@@UAEHPADHHPAU_LOADFILEOPTION@@PAU_FILEINFOA@@@Z)
error LNK2001: unresolved external symbol "public: virtual int __thiscall LBitmapBase::Load(char *,int,int,int,struct _FILEINFOA *)" (?Load@LBitmapBase@@UAEHPADHHHPAU_FILEINFOA@@@Z)
......
I am sure that all the lib and dll file is included in my project, and I also include the lib into my source codes:
.......
#pragma comment ( lib, "Ltwvc_u.lib" )
#pragma comment(lib, "Ltkrn_u.lib")
#pragma comment(lib, "Ltdis_u.lib")
#pragma comment(lib, "Ltfil_u.lib")
#pragma comment(lib, "Ltbar_u.lib")
#pragma comment(lib, "Lttwn_u.lib")
#pragma comment(lib, "Ltdlgfile_u.lib")
#pragma comment(lib, "Ltdlgkrn_u.lib")
#pragma comment(lib, "Ltdic_u.lib" )
#pragma comment (lib, "Ltann_u.lib")
.......
Why unresolved external symbol mistake appeared? Please tell me how to do.
Thank you!