HomeUseful information for Helbreath beginnersStatistics overviewSearchMemberlistGalleryRulesRegisterLog in

 

 Ayuda al compilar client POR FAVOR!!

Go down 
2 posters
AuthorMessage
Yingo


avatar

Silver 4
Over 12 posts and comments.

Likes : 1

Ayuda al compilar client POR FAVOR!! Empty
#1PostSubject: Ayuda al compilar client POR FAVOR!!   Ayuda al compilar client POR FAVOR!! 9991011/20/2016, 6:56 pm

Hola gente, bueno no tengo mucho conosimiento en programacion asique el que me pueda tirar una mano con este error me salvaria mucho, cuando compilo el Client me sale esto:
Compiling...
MapData.cpp
C:\Users\Agustin\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\Agustin\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\Agustin\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\Agustin\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\Agustin\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\Agustin\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\Agustin\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\Agustin\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\Agustin\Desktop\hb lux\Source\[SRC]Client\Game.cpp(650) : error C2065: 'nullptr' : undeclared identifier
C:\Users\Agustin\Desktop\hb lux\Source\[SRC]Client\Game.cpp(17099) : warning C4305: 'argument' : truncation from 'const int' to 'char'
C:\Users\Agustin\Desktop\hb lux\Source\[SRC]Client\Game.cpp(17099) : warning C4309: 'argument' : truncation of constant value
C:\Users\Agustin\Desktop\hb lux\Source\[SRC]Client\Game.cpp(39425) : error C2374: 'i' : redefinition; multiple initialization
        C:\Users\Agustin\Desktop\hb lux\Source\[SRC]Client\Game.cpp(39394) : see declaration of 'i'
Wmain.cpp
C:\Users\Agustin\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\Agustin\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\Agustin\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\Agustin\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.
Creating browse info file...

Helgame.exe - 14 error(s), 2 warning(s)
Back to top Go down
Yingo


avatar

Silver 4
Over 12 posts and comments.

Likes : 1

Ayuda al compilar client POR FAVOR!! Empty
#2PostSubject: Re: Ayuda al compilar client POR FAVOR!!   Ayuda al compilar client POR FAVOR!! 9991011/22/2016, 10:08 pm

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;
}

EN alguna parte de este code estar el error supuestamente, si alguien me tira una manito!!
Back to top Go down
Quietmov3s


Quietmov3s

Diamond 1
Over 144 posts and comments.
10th Anniversary
Earned after being a member for 10 years.
Moderator

Likes : 28

Ayuda al compilar client POR FAVOR!! Empty
#3PostSubject: Re: Ayuda al compilar client POR FAVOR!!   Ayuda al compilar client POR FAVOR!! 9991011/23/2016, 10:44 am

Back to top Go down
Sponsored content






Ayuda al compilar client POR FAVOR!! Empty
#4PostSubject: Re: Ayuda al compilar client POR FAVOR!!   Ayuda al compilar client POR FAVOR!! 99910

Back to top Go down
 
Ayuda al compilar client POR FAVOR!!
Back to top 
Page 1 of 1
 Similar topics
-
» Ayuda para compilar un client
» Ayuda con el client
» Ayuda con el client
» Problemas con colores ayudenme por favor
» SIN REACCIÓN DEL CLIENT.EXE

Permissions in this forum:You cannot reply to topics in this forum
Join Helbreath :: Development :: Deleted & Closed Posts-
Jump to: