taliesins / cassia

Automatically exported from code.google.com/p/cassia
1 stars 0 forks source link

Vista 6.0.6000 and TerminalServicesSession constructor #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Creation of a TerminalServicesSession class

What is the expected output? What do you see instead?

The QuerySessionInformationForStruct returns Success but it fails retrieving 
the WTSSessionInfo informations, because the value is not supported. (ref: 
http://msdn.microsoft.com/en-us/library/aa383861%28v=vs.85%29.aspx)

What version of the product are you using? On what operating system?

Version 2.0.0.60, Windows Vista 6.0.6000, without Service Pack 1.

Please provide any additional information below.

I think it can be fixed restricting the usage of 
QuerySessionInformationForStruct call with OS Version(6,0,6001) instead of OS 
Version(6,0) (line 54 on TerminalServicesSession.cs).

Original issue reported on code.google.com by mfocare1@gmail.com on 1 Sep 2011 at 11:04

GoogleCodeExporter commented 8 years ago
OK, makes sense. Thanks for reporting this -- it will be fixed for the next 
release.

Original comment by danports on 3 Sep 2011 at 5:56

GoogleCodeExporter commented 8 years ago
Taking a closer look, it seems that this was already fixed on the trunk with 
r79 back in October 2009. The trunk is quite stable, so if you'd like, you can 
grab the latest build from the build server 
(http://teamcity.codebetter.com/project.html?projectId=project51 -- login as a 
guest and use the artifacts link) and give it a shot.

Original comment by danports on 24 Dec 2011 at 9:39