occipital/OpenNI2 — pull request #4 by larshg (2014-05-05 07:56:48+00:00)
Title: Added check for MSVS2013 as GetVersionEx is marked as depricated.

Hi,

I tried to build this with visual studio 2013 express, but get a warning/error at the GetVersionEx.

I have implemented a new method to make use of the VersionHelpers, and a check if the VS is 1800 or above.

It seems that the xnOSGetInfo is not used at all, and I tried to use it in the NiViewer tool project, but I got some linking erros to InitializeSecurityDescriptor and SetSecurityDescriptorDacl which is part of the WINAPI.

Hence it is not checked for runtime errors.

Alternatively the xnOSGetInfo could just be removed?

Regards, Lars