Build errors with .NET 2005 and FlashPlayerControl.lib

DLL Edition of the F-IN-BOX
npalta
Posts: 3
Joined: Fri Aug 19, 2005 3:30 pm

Build errors with .NET 2005 and FlashPlayerControl.lib

Postby npalta » Thu Feb 02, 2006 11:06 am

Hi there,

I have been using your FlashPlayerControl.lib without a problem for quite some time now but now I am experiencing diffiulty whilst upgrading to VS.NET 2005.

I am recieving the following linker errors,

Error 78 error LNK2005: "class ATL::CAtlWinModule ATL::_AtlWinModule" (?_AtlWinModule@ATL@@3VCAtlWinModule@1@A) already defined in FlashPlayerControl.lib(dll.obj) atls.lib
Error 79 error LNK2005: "class _variant_t vtMissing" (?vtMissing@@3V_variant_t@@A) already defined in comsuppwd.lib(comutil.obj) comsupp.lib
Error 80 error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ) referenced in function "public: int __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::compare(unsigned int,unsigned int,char const *,unsigned int)const " (?compare@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEHIIPBDI@Z) FlashPlayerControl.lib
Error 81 error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ) FlashPlayerControl.lib
Error 82 error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ) FlashPlayerControl.lib
Error 83 error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ) FlashPlayerControl.lib
Error 84 error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ) referenced in function "protected: bool __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Grow(unsigned int,bool)" (?_Grow@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IAE_NI_N@Z) FlashPlayerControl.lib
Error 85 error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ) FlashPlayerControl.lib
Error 86 error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ) FlashPlayerControl.lib
Error 87 error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ) FlashPlayerControl.lib
Error 88 fatal error LNK1120: 2 unresolved externals <my exe filename>

Have you any advice on how to eliminate these? I have 2 build configurations, 1 with the FlashPlayerControl.lib and one without, the one without compiles fine. If you could point me in the right direction I would be most appreciative. Thanks.

Nick.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Thu Feb 02, 2006 12:09 pm

Thank you for your question.
You can try to play with the settings: C Runtime Library, ATL static/dynamic. But the simplest way is to use FlashPlayerControl as a dll.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

npalta
Posts: 3
Joined: Fri Aug 19, 2005 3:30 pm

No external dependencies

Postby npalta » Thu Feb 02, 2006 3:32 pm

Hi Artem,

I shall try with static ATL and see what happens. The only problem is that our EXE is not supposed to have any dependencies other than those found in the base installation of Windows XP. I shall have a fiddle and see what happens. Thanks loads for your time.

Nick.


Return to “DLL Edition”

Who is online

Users browsing this forum: No registered users and 15 guests