链接时提示出这个错:是怎么回事?那位大侠帮忙说说,谢谢!!!Linking...
Visadapter.obj : error LNK2001: unresolved external symbol "void __cdecl s3h_get_full_time_from_local(void *,struct _s3_timeval *,unsigned short,unsigned char,unsigned char,unsigned char,unsigned char,unsigned char,unsigned short)" (?s3h_get_full_ti
me_from_local@@YAXPAXPAU_s3_timeval@@GEEEEEG@Z)
Visadapter.obj : error LNK2001: unresolved external symbol "void __cdecl s3wi_release(void *)" (?s3wi_release@@YAXPAX@Z)
Visadapter.obj : error LNK2001: unresolved external symbol "unsigned char __cdecl s3wi_unload(void *)" (?s3wi_unload@@YAEPAX@Z)
Visadapter.obj : error LNK2001: unresolved external symbol __imp__mciSendCommandA@16
VispalyerDlg.obj : error LNK2001: unresolved external symbol "void __cdecl s3wi_play(void *)" (?s3wi_play@@YAXPAX@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "unsigned char __cdecl s3wi_load(void *,struct _s3w_data_info *,enum _s3w_data_type,unsigned char,unsigned char)" (?s3wi_load@@YAEPAXPAU_s3w_data_info@@W4_s3w_data_type@@EE@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "void * __cdecl s3wi_create(void *,struct _s3_system_capabilities *,unsigned long,unsigned long)" (?s3wi_create@@YAPAXPAXPAU_s3_system_capabilities@@KK@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "int __cdecl s3wi_get_content_info(void *,struct _s3_content_info_ex *)" (?s3wi_get_content_info@@YAHPAXPAU_s3_content_info_ex@@@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "long __cdecl s3wi_extract_sound(void *,unsigned long,unsigned char *)" (?s3wi_extract_sound@@YAJPAXKPAE@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "int __cdecl s3wi_extract_cpcode(void *,unsigned char *,enum _s3_char_set_type *)" (?s3wi_extract_cpcode@@YAHPAXPAEPAW4_s3_char_set_type@@@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "int __cdecl s3wi_pause(void *)" (?s3wi_pause@@YAHPAX@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "unsigned char __cdecl s3wi_process(void *,void *)" (?s3wi_process@@YAEPAX0@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "void __cdecl s3wi_key_pressed(void *,unsigned char)" (?s3wi_key_pressed@@YAXPAXE@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "void __cdecl s3wi_key_down(void *,unsigned char)" (?s3wi_key_down@@YAXPAXE@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "void __cdecl s3wi_extract_end(void *)" (?s3wi_extract_end@@YAXPAX@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "enum _s3_extr_result  __cdecl s3wi_extract_frame(void *,int,unsigned short *,unsigned short *)" (?s3wi_extract_frame@@YA?AW4_s3_extr_result@@PAXHPAG1@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "void * __cdecl s3wi_extract_start(void *,struct _s3w_data_info *,enum _s3w_data_type,void *,unsigned short,unsigned short)" (?s3wi_extract_start@@YAPAXPAXPAU_s3w_data_info@@W4_s3w_data_ty
pe@@0GG@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "int __cdecl s3wi_resume(void *)" (?s3wi_resume@@YAHPAX@Z)
VispalyerDlg.obj : error LNK2001: unresolved external symbol "void __cdecl s3wi_stop(void *)" (?s3wi_stop@@YAXPAX@Z)
Debug/Visplayer_2.exe : fatal error LNK1120: 19 unresolved externals
Error executing link.exe.

解决方案 »

  1.   

    相关lib没有包含进来,也就是方法没有实现。
      

  2.   

    可是我在工程的setting的link下写了“.lib“文件,在头文件StdAfx.h中也写了#pragma comment(lib,"VISWrapper"),而“.lib”文件就在工程文件夹下啊!
      

  3.   

    注意主辅工程的各种编译选项必须都一样,相互匹配。
    应该是这个问题。
    查看你的主工程选项和辅工程-类库的编译选项。──────────────────────
    国内专业的ACE网络编程、开发论坛开通:
    www.acejoy.com 
    www.acedevelop.com
    涉及ACE使用和开发,中间件、服务器端软件的设计,P2P技术,
    socket网络编程、应用开发等内容。
    欢迎加入,大家一起交流、学习成长!