got problems when compiling
--------------------Configuration: apachechunk - Win32 Debug--------------------
Compiling...
apachechunk.cpp
C:\ftp\dmcompilercpp\bin\apachechunk.cpp(168) : error C2664: 'ReadConsoleA' : cannot convert parameter 4 from 'int *' to 'unsigned long *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\ftp\dmcompilercpp\bin\apachechunk.cpp(172) : error C2664: 'ioctlsocket' : cannot convert parameter 3 from 'int *' to 'unsigned long *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\ftp\dmcompilercpp\bin\apachechunk.cpp(175) : error C2664: 'WriteConsoleA' : cannot convert parameter 4 from 'int *' to 'unsigned long *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\ftp\dmcompilercpp\bin\apachechunk.cpp(331) : error C2664: '_beginthread' : cannot convert parameter 1 from 'unsigned long (__cdecl *)(void *)' to 'void (__cdecl *)(void *)'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
Error executing cl.exe.
apachechunk.obj - 4 error(s), 0 warning(s)
more or less the same errors in VC++ ,DC++ and Digital Mars Compiler .
help from anybody?