• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[definitions.h] Small question.

ntmr

hi!
Senator
Joined
Jul 7, 2007
Messages
1,835
Reaction score
15
Location
Santa Catarina, Brazil
I'm running TFS on a Windows Server 2003 R2, I was looking into the TFS definitions.h and found these lines:

Code:
//Windows 2000    0x0500
//Windows XP    0x0501
//Windows 2003    0x0502
//Windows Vista    0x0600
#define _WIN32_WINNT 0x0501

Someone could tell me what is this?

When running the server on a windows 2003 server is better change that value to 0x0502?
 
I don't know but it seems like yes. Otherwise it wouldn't be commented. Maybe change and see how it works :)
 
No problem :P It's just logical in some way. Talaturen seems to be inactive for some days.
 
Windows 2000 is NT 5.0
Windows XP is NT 5.1
Windows 2003 is NT 5.2
and Windows Vista is NT 6.0

I don't know what difference it will give, though you could try changing it :)
 
It would probably optimize the Windows header a bit if you choose the one for your operating system, but the XP one should work for all and I doubt it would be optimizations that you would pay attention to.
 
Thanks Talaturen :)

Another question to you: optimize the server compilling (with gcc flags) to an specifc processor (p4, for example) is good?
 
Last edited:
Back
Top