Has anybody been able to compile the ZoneNT project in VC++ .NET? I get a bunch of errors with mutex.cpp as follows:
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2065: 'cout' : undeclared identifier
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2296: '<<' : illegal, left operand has type ''unknown-type''
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2297: '<<' : illegal, right operand has type 'char [46]'
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2065: 'endl' : undeclared identifier
d:\eqemu-0.3.4-Source\common\Mutex.cpp(18

: error C2296: '<<' : illegal, left operand has type ''unknown-type''
d:\eqemu-0.3.4-Source\common\Mutex.cpp(18

: error C2297: '<<' : illegal, right operand has type 'char [14]'
d:\eqemu-0.3.4-Source\common\Mutex.cpp(235): error C2296: '<<' : illegal, left operand has type ''unknown-type''
d:\eqemu-0.3.4-Source\common\Mutex.cpp(235): error C2297: '<<' : illegal, right operand has type 'char [14]'
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2065: 'cout' : undeclared identifier
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2296: '<<' : illegal, left operand has type ''unknown-type''
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2297: '<<' : illegal, right operand has type 'char [46]'
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2065: 'endl' : undeclared identifier
d:\eqemu-0.3.4-Source\common\Mutex.cpp(18

: error C2296: '<<' : illegal, left operand has type ''unknown-type''
d:\eqemu-0.3.4-Source\common\Mutex.cpp(18

: error C2297: '<<' : illegal, right operand has type 'char [14]'
d:\eqemu-0.3.4-Source\common\Mutex.cpp(235): error C2296: '<<' : illegal, left operand has type ''unknown-type''
d:\eqemu-0.3.4-Source\common\Mutex.cpp(235): error C2297: '<<' : illegal, right operand has type 'char [14]'
Obviously all of the errors deal with the iostream header file, thus I commented out the following:
//#define DEBUG_MUTEX_CLASS 0
//#if DEBUG_MUTEX_CLASS >= 1
#include <iostream.h>
//#endif
And it compiles... but the client can't log their character into the zone. The size of ZoneNT.exe after compiling (after commenting out the above lines) is around 2x the size as well.....
Does anybody know a way to get around these errors? Thanks!
Peace,
Davn