GetOsPlatform

 

Retrieve the type of operating system (WinCE or Windows).

 

string @GetOsPlatform();

 

Parameters

None

 

Returns

Returns "WinCE" or "Windows".

 

Example

if (@GetOsPlatform() == "WinCE")
    @strcpy(filename2, "\\TOOLS\\EX2.TXT");
else
    @strcpy(filename2, "C:\\EX\\EX2.TXT");

 

Description : If the platform is WinCE, uses the file "\\TOOLS\\EX2.TXT"; otherwise, uses "C:\\EX\\EX2.TXT".

 

Version Information

Supported Version: 10.3.3 or Higher