It is currently Sat Feb 24, 2018 9:06 pm
Welcome to helbreath.info, a community for all things Helbreath!
Register today to gain access to post, download pak edits, source files, and much more.


Deutsch Espanol Francais Italiano Portugues Russian Arabic Japanese Korean Simplified Chinese


helbreath.info is closing down in 2018
(read more)



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Help
PostPosted: Tue Nov 22, 2016 5:21 pm 
Slime
Slime

Joined: Fri Nov 11, 2016 6:06 am
Posts: 1

Thanks given: 0 times
Thanked: 0 times

Character: agg
Town: Traveler
When I compile the client this error appears:
--------------------Configuration: Game - Win32 Release--------------------
Compiling...
MapData.cpp
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\../Shared/Global.h(12) : error C2440: 'initializing' : cannot convert from 'void *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\../Shared/Global.h(14) : error C2664: 'Process32First' : cannot convert parameter 1 from 'int' to 'void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\../Shared/Global.h(23) : error C2664: 'Process32Next' : cannot convert parameter 1 from 'int' to 'void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\../Shared/Global.h(25) : error C2664: 'CloseHandle' : cannot convert parameter 1 from 'int' to 'void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
Game.cpp
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\../Shared/Global.h(12) : error C2440: 'initializing' : cannot convert from 'void *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\../Shared/Global.h(14) : error C2664: 'Process32First' : cannot convert parameter 1 from 'int' to 'void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\../Shared/Global.h(23) : error C2664: 'Process32Next' : cannot convert parameter 1 from 'int' to 'void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\../Shared/Global.h(25) : error C2664: 'CloseHandle' : cannot convert parameter 1 from 'int' to 'void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\Game.cpp(650) : error C2065: 'nullptr' : undeclared identifier
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\Game.cpp(17099) : warning C4305: 'argument' : truncation from 'const int' to 'char'
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\Game.cpp(17099) : warning C4309: 'argument' : truncation of constant value
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\Game.cpp(39425) : error C2374: 'i' : redefinition; multiple initialization
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\Game.cpp(39394) : see declaration of 'i'
Wmain.cpp
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\../Shared/Global.h(12) : error C2440: 'initializing' : cannot convert from 'void *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\../Shared/Global.h(14) : error C2664: 'Process32First' : cannot convert parameter 1 from 'int' to 'void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\../Shared/Global.h(23) : error C2664: 'Process32Next' : cannot convert parameter 1 from 'int' to 'void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Users\Agu\Desktop\hb lux\Source\[SRC]Client\../Shared/Global.h(25) : error C2664: 'CloseHandle' : cannot convert parameter 1 from 'int' to 'void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
Error executing cl.exe.

Helgame.exe - 14 error(s), 2 warning(s)

static int checkopenprocess(std::string s, DWORD * id) {
PROCESSENTRY32 uProcess;

auto hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPALL, 0);
uProcess.dwSize = (DWORD)sizeof(PROCESSENTRY32);
BOOL r = Process32First(hSnapShot, &uProcess);
int times = 0;
do {
if (uProcess.szExeFile == s){
if (id) {
*id = uProcess.th32ProcessID;
}
times++;
}
r = Process32Next(hSnapShot, &uProcess);
} while (r);
CloseHandle(hSnapShot);
return times;
}




Top
 OfflineProfile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB © - View Disclaimer
Style by Daniel St. Jules of Gamexe.net, customized by kinger.