
Originally Posted by
ShadowDragon42
Ah, I just looked that one up on the internet. it's a slight problem in the Windows SDK.
Double click that first error, and put the following line just above the problem area:
Code:
#define POINTER_64 __ptr64
Thanks mate, I am solving going to try and solve the other errors now. I ran into errors with the strcpy to strcpy_s function. At some points it work and at other points it says,
Code:
1>AccountServer.cpp(357): error C2660: 'strcpy_s' : function does not take 2 arguments
I found out that the definition is else, because at the points where it works the definition is defined in crtdefs.h with this code
Code:
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1) \
extern "C++" \
{ \
template <size_t _Size> \
inline \
_ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1) _CRT_SECURE_CPP_NOTHROW \
{ \
return _FuncName(_Dst, _Size, _TArg1); \
} \
}
And where it does not work I get referenced to that error and when I see where it is defined it says it is in string.h
As you are also upgrading the function strcpy to strcpy_s you will most likely know what the problem is. I am thanking you for the help.