On 30/05/2015 at 05:11, xxxxxxxx wrote:
Originally posted by xxxxxxxx
UCHAR has been deprecated and replaced with UChar in R16. Real is now Float, INT is now Int32, LONG is now Int64, etc. If you are building for R16, this should not be happening. Make sure that you are referencing the proper version resource in your project.
This is only partially right.
UCHAR and Co. are already deprecated in R15.
Here is how common types need to be changed for this:
// new type old type
typedef Char CHAR;
typedef UChar UCHAR;
typedef Int16 SWORD;
typedef UInt16 UWORD;
typedef Int32 LONG;
typedef UInt32 ULONG;
typedef Int64 LLONG;
typedef UInt64 LULONG;
typedef Int VLONG;
typedef UInt VULONG;
typedef Float Real;
typedef Float32 SReal;
typedef Float64 LReal;
typedef Vector32 SVector;
typedef Vector64 LVector;
typedef Matrix32 SMatrix;
typedef Matrix64 LMatrix;
typedef Vector4d32 SVector4;
typedef Vector4d64 LVector4;
typedef Vector4d Vector4;
typedef Matrix4d32 SMatrix4;
typedef Matrix4d64 LMatrix4;
typedef Matrix4d Matrix4;
More information can be found in "_api/legacy.h" file.