Hi, I downloaded http://aa-flserver.de/download/flhook1.5.9_plugin.rar
I opened up the Tempban plugins project in visual studio 2005, and tried to build it. It compiled, but wouldn’t link. Any ideas? It finds the lib, but seems to be saying flhook.lib doesn’t match up with flhook.h or something…
1>------ Build started: Project: Tempban Plugin, Configuration: Release Win32 ------
1>Compiling...
1>Main.cpp
1>Linking...
1> Â Creating library Release/Tempban Plugin.lib and object Release/Tempban Plugin.exp
1>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl CCmds::Print(class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>>,...)" (__imp_?Print@CCmds@@QAAXV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@ZZ) referenced in function "void __stdcall CmdHelp_Callback(class CCmds *)" (?CmdHelp_Callback@@YGXPAVCCmds@@@Z)
1>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>> __stdcall HkGetAccountID(class CAccount *)" (__imp_?HkGetAccountID@@YG?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@PAVCAccount@@@Z) referenced in function "bool __stdcall HkTempBannedCheck(unsigned int)" (?HkTempBannedCheck@@YG_NI@Z)
1>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) enum HK_ERROR __stdcall HkKick(class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>>)" (__imp_?HkKick@@YG?AW4HK_ERROR@@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@Z) referenced in function "void __stdcall HkIServerImpl::Login(struct SLoginInfo const &,unsigned int)" (?Login@HkIServerImpl@@YGXABUSLoginInfo@@I@Z)
1>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>> __stdcall stows(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator <char>>)" (__imp_?stows@@YG?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z) referenced in function "void __stdcall HkIServerImpl::Login(struct SLoginInfo const &,unsigned int)" (?Login@HkIServerImpl@@YGXABUSLoginInfo@@I@Z)
1>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_string<char,struct std::char_traits<char="">,class std::allocator <char>> __stdcall itos(int)" (__imp_?itos@@YG?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) referenced in function "void __stdcall HkIServerImpl::Login(struct SLoginInfo const &,unsigned int)" (?Login@HkIServerImpl@@YGXABUSLoginInfo@@I@Z)
1>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) unsigned __int64 __stdcall timeInMS(void)" (__imp_?timeInMS@@YG_KXZ) referenced in function "void __stdcall HkTimerCheckKick(void)" (?HkTimerCheckKick@@YGXXZ)
1>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class CAccount * __stdcall HkGetAccountByCharname(class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>>)" (__imp_?HkGetAccountByCharname@@YGPAVCAccount@@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@Z) referenced in function "enum HK_ERROR __stdcall HkTempBan(class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>>,unsigned int)" (?HkTempBan@@YG?AW4HK_ERROR@@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@I@Z)
1>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) unsigned int __stdcall HkGetClientIdFromCharname(class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>>)" (__imp_?HkGetClientIdFromCharname@@YGIV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@Z) referenced in function "enum HK_ERROR __stdcall HkTempBan(class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>>,unsigned int)" (?HkTempBan@@YG?AW4HK_ERROR@@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@I@Z)
1>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) enum HK_ERROR __stdcall HkResolveShortCut(class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>>,unsigned int &)" (__imp_?HkResolveShortCut@@YG?AW4HK_ERROR@@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@AAI@Z) referenced in function "enum HK_ERROR __stdcall HkTempBan(class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>>,unsigned int)" (?HkTempBan@@YG?AW4HK_ERROR@@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@I@Z)
1>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) enum HK_ERROR __stdcall HkResolveId(class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>>,unsigned int &)" (__imp_?HkResolveId@@YG?AW4HK_ERROR@@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@AAI@Z) referenced in function "enum HK_ERROR __stdcall HkTempBan(class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>>,unsigned int)" (?HkTempBan@@YG?AW4HK_ERROR@@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@I@Z)
1>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>> __thiscall CCmds::ArgCharname(unsigned int)" (__imp_?ArgCharname@CCmds@@QAE?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@I@Z) referenced in function "bool __stdcall ExecuteCommandString_Callback(class CCmds *,class std::basic_string<wchar_t,struct std::char_traits<wchar_t="">,class std::allocator <wchar_t>>)" (?ExecuteCommandString_Callback@@YG_NPAVCCmds@@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@Z)
1>Release/Tempban Plugin.dll : fatal error LNK1120: 11 unresolved externals</wchar_t></wchar_t,struct></wchar_t></wchar_t,struct></wchar_t></wchar_t,struct></wchar_t></wchar_t,struct></wchar_t></wchar_t,struct></wchar_t></wchar_t,struct></wchar_t></wchar_t,struct></wchar_t></wchar_t,struct></wchar_t></wchar_t,struct></wchar_t></wchar_t,struct></char></char,struct></char></char,struct></wchar_t></wchar_t,struct></wchar_t></wchar_t,struct></wchar_t></wchar_t,struct></wchar_t></wchar_t,struct>