XTOSVersionInfo |
Post Reply |
Author | |
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
Posted: 09 December 2013 at 6:09pm |
In previous versions the following was valid:
int Minor = XTOSVersionInfo()->dwMinorVersion; In the current version, I get an error stating dwMinorVersion is not valid. What is the correct way to get the dwMinorVersion in the current API? |
|
kstowell
Admin Group Joined: 25 January 2003 Location: MIchigan, USA Status: Offline Points: 496 |
Post Options
Thanks(0)
|
We had to make some changes for compatibility with the latest version of Visual Studio 2013. If you need to get the OS minor version number you can use the system API GetVersionEx however be aware that Microsoft may not support this in the future.
Hope this helps.
|
|
Kirk Stowell, President and CEO
CODEJOCK SOFTWARE SOLUTIONS< |
|
Willowmaster
Senior Member Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
|
What? I thought one of the purposes of the toolkit was to take care of stuff like this! After all, that is why you have the function XTOSVersionInfo, right?
|
|
Willowmaster
Senior Member Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
|
You can't expect CodeJock to maintain support for this if Microsoft recommends not to use it anymore. This is not how Microsoft wants you to check the Windows version in the future.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
|
I understand that. However that does not mean everyone has to figure out how to still make programs running on XP, Windows 7, Windows 8.0, Windows 8.1 and future versions of windows that depend upon this function or replacement function to work correctly.
That is the purpose of a toolkit; the support is added once, and everyone has access to it. However, it is clear that no one wants that! So mark my post as resolved, as in, do it yourself. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |