Mega Code Archive

 
Categories / Delphi / Examples
 

Is my 16-bit app is running under windows nt

To detect this, use this code snippet: const WF_WINNT = $4000; if (GetWinFlags and WF_WINNT) > 0 then { ...running on NT...}