` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Checking is app running in Teminal Services session
2001-01-07 -- Edin Cahtarevic
 
Just found API for check is your application running in TS: BOOL IsRemoteSession(void) { return GetSystemMetrics( SM_REMOTESESSION ); } I do not have any of MS Developer tools, so can someone send me Equate for SM_REMOTESESSION (it is in WinUser.H). Thanks in advance. (Mr. Parker, add this in FAQ). Jeff Hill adds: I have the July 2000 version of MSDN library... It equates SM_REMOTESESSION to 0x1000 (or 4096 decimal). The docs say this is only valid for NT 4.0 Service Pack 4 or greater. Raimund Schuldhaus adds: There are two ways to find out what you want: 1st way works only under Windows 2000 Call VerifyVersionInfo 2nd way works under Terminal Server 4 and Windows 2000 Search for ProductSuite under System\CurrentControlSet\Control\ProductOptions


Today is May 6, 2024, 8:15 am
This article has been viewed 35113 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: