Software Archive
Read-only legacy content
17061 Discussions

small bug: QueryVersion only reports partial version number

Zsolt_E_
New Contributor I
182 Views

Bug: on the gold SDK release, the following code only outputs "3.1".

   

	PXCSession::ImplVersion ver = session->QueryVersion();
	wprintf_s(L"SDK Version %d.%d\n", ver.major, ver.minor);

I believe it should output the full version number, as the most important bit is the 3rd and 4th part of the minor number.

0 Kudos
1 Reply
Colleen_C_Intel
Employee
182 Views

You can get the longer version number by running Sdk_info from the bin folder. For most public releases, the numbers past the minor version won't matter as the minor version number will have changed per release. 

0 Kudos
Reply