我已经习惯了使用vc ++进行办公自动化以生成docx,但是却出现了linker error. [英] I have used to office automation to generate docx using vc++, but i got linker error .
本文介绍了我已经习惯了使用vc ++进行办公自动化以生成docx,但是却出现了linker error.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我曾经使用Office Automation lib以编程方式生成docx,而我使用Visual Studio 2005 + vc ++运行我的应用程序时,却出现了这样的链接器错误,
I have used to generate docx programmetically using office automation lib, while i run my appliction using visual studio 2005 + vc++,i got linker error like this,
WordDlg.obj : error LNK2019: unresolved external symbol "public: void __thiscall Range::InsertAfter(wchar_t const *)" (?InsertAfter@Range@@QAEXPB_W@Z) referenced in function "public: void __thiscall CWordDlg::OnBnClickedOk(void)" (?OnBnClickedOk@CWordDlg@@QAEXXZ)
WordDlg.obj : error LNK2019: unresolved external symbol "public: void __thiscall View::SetSeekView(long)" (?SetSeekView@View@@QAEXJ@Z) referenced in function "public: void __thiscall CWordDlg::OnBnClickedOk(void)" (?OnBnClickedOk@CWordDlg@@QAEXXZ)
WordDlg.obj : error LNK2019: unresolved external symbol "public: struct IDispatch * __thiscall Pane::GetView(void)" (?GetView@Pane@@QAEPAUIDispatch@@XZ) referenced in function "public: void __thiscall CWordDlg::OnBnClickedOk(void)" (?OnBnClickedOk@CWordDlg@@QAEXXZ)
WordDlg.obj : error LNK2019: unresolved external symbol "public: struct IDispatch * __thiscall Window::GetActivePane(void)" (?GetActivePane@Window@@QAEPAUIDispatch@@XZ) referenced in function "public: void __thiscall CWordDlg::OnBnClickedOk(void)" (?OnBnClickedOk@CWordDlg@@QAEXXZ)
F:\Word\Debug\Word.exe : fatal error LNK1120: 4 unresolved externals
请帮助我
问候
Arasu
plz help me
Regards
Arasu
推荐答案
您应该尝试找到以下问题的答案:
这些未解决的功能(未使用)了什么LIB文件? :)
You should try to find an answer for the question:
what LIB file is (un-)used for these unresolved functions ? :)
这篇关于我已经习惯了使用vc ++进行办公自动化以生成docx,但是却出现了linker error.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文