` 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: Detecting NT from 16 bit app
1999-09-18 -- Mark Riffey
 
GetWinFlags will do it. Code below: Global embeds, inside global map: MODULE('Windows.DLL') GetWinFlags(),LONG,PASCAL END In your source: ver# = getwinflags() ! Ver# is an implicit define, call me lazy. If band(ver#,4000H) !is it NT from a 16 bit app? Its NT ELSE its not NT end This is proven, production code. Enjoy!


Today is May 9, 2024, 3:37 pm
This article has been viewed 35111 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: