Skip to content

Added check for MSVS2013 as GetVersionEx is marked as depricated.#4

Merged
jrpowers merged 1 commit intostructureio:developfrom
larshg:develop
May 5, 2014
Merged

Added check for MSVS2013 as GetVersionEx is marked as depricated.#4
jrpowers merged 1 commit intostructureio:developfrom
larshg:develop

Conversation

@larshg
Copy link

@larshg larshg commented May 5, 2014

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

jrpowers added a commit that referenced this pull request May 5, 2014
Added check for MSVS2013 as GetVersionEx is marked as depricated.
@jrpowers jrpowers merged commit 8124235 into structureio:develop May 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants