![](https://www.getmangos.eu/uploads/set_resources_27/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
![](https://www.getmangos.eu/uploads/set_resources_27/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
Prefect
-
Posts
2 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by Prefect
-
-
hi all, i have a problem, i use SD2 and i need this function, i set access to FindPlayer() function by _declspec(dllexport) :
// Player access static _declspec(dllexport) Player* FindPlayer(ObjectGuid guid);
But when i set same to GetCreatureInWorld :
static _declspec(dllexport) Creature* GetCreatureInWorld(ObjectGuid guid)
I get a compile error :
8>ScriptMgr.obj : error LNK2001: unresolved external symbol ""public: static class std::list<class Map *,class std::allocator<class Map *> > ObjectAccessor::i_mapList" (?i_mapList@ObjectAccessor@@2V?$list@PEAVMap@@V?$allocator@PEAVMap@@@std@@@std@@A)"
What i need to do to allow use this function from SD2 ?
*Sorry for bad english
GetCreatureInWorld function
in OldC / C++
Posted
Thx, i found all of it![:)](https://www.getmangos.eu/uploads/emoticons/smile.png)