Thread
:
Module: Okapi
View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
03-31-2014 , 20:52 Re: Module: Okapi
#
29
In s_library.cpp, where it uses GetModuleInformation, I've added :
#pragma comment(lib, "Psapi.lib")
#pragma comment(lib, "Kernel32.lib")
#define PSAPI_VERSION 1
So, it will use Psapi.lib instead. With windows 7, some changes have been done around this function and to keep compatibility with XP, you need to laod Psapi and define PSAPI version to 1.
__________________
Arkshine
View Public Profile
Send a private message to Arkshine
Find More Posts by Arkshine