• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

compile errors

Newbie Spellweaver
Joined
Apr 15, 2017
Messages
5
Reaction score
0
Hello!
when i compile SA.dsw project/workspace
i got these errors
View attachment Build.txt

i tried to uncomment these lines :-
Code:
[COLOR=#ff0000]//[/COLOR]#ifndef ULONG_PTR
[COLOR=#ff0000]//[/COLOR]#define ULONG_PTR ULONG*
[COLOR=#ff0000]//[/COLOR]#endif
in this file :-
Code:
\Johnson_Client\ClientShellDLL\Lib_Network\NJean\Network\[COLOR=#ff0000]Network.h[/COLOR]

then i tried to compile again
and got fewer errors than before, here is:-

View attachment Build_2.txt

any hints ? tips ? help ? :*:

thank you all, in advance .
-------
PS; i am using KillerStefan Client ,, also i installed VC++ 6 , and dx8.1 SDK .
 

Attachments

You must be registered for see attachments list
Last edited:
Moderator
Staff member
Moderator
Joined
Jan 13, 2013
Messages
1,186
Reaction score
360
I might be wrong here but the error keeps specifying these missing bits.

error C2146: syntax error : missing ';' before identifier 'm_lpdwOwnerKey'

error C2146: syntax error : missing ';' before identifier 'm_wParam'

error C2146: syntax error : missing ';' before identifier 'm_lpNetworkKey'

Missing >

I hope this helped.
 
Newbie Spellweaver
Joined
Apr 15, 2017
Messages
5
Reaction score
0
thanks for your reply ^^

i thought the errors because ";"
but its not .

What I did , first i uncommented these lines in Network.h file
as i said in first post :-
Code:
[COLOR=#ff0000]//[/COLOR]#ifndef ULONG_PTR
[COLOR=#ff0000]//[/COLOR]#define ULONG_PTR ULONG*
[COLOR=#ff0000]//[/COLOR]#endif
then i included Network.h , into these files
socket.h , peer.h , signalqueue.h .
then i tried to Build again , and got no errors :w00t:

---
any hints :blink:
 
Initiate Mage
Joined
May 6, 2020
Messages
2
Reaction score
0
I started mess with the files today and strumble with that one, for future reference all you need to do is replace all ULONG_PTR with unsigned long.. Good Luck :)
 
Back
Top