Scense 7 includes extensive support for 64-bit Operating Systems and applications.
To work with a mix of 32-bit and 64-bit applications and operating systems, Scense 7 provides the administrator with tools to easily maintain a great user experience.
Scense Variables.
Scense 7 adds some new runtime variables and enhances some existing ones to enable seamless operations on both 32-bit and 64-bit platforms.
Variable Name | Representation |
ProgramFiles | Program Files system folder depending on context In Application context: E.g.: C:Program Files (32-bit app. on 32-bit OS) C:Program Files (64-bit app. on 64-bit OS) C:Program Files (x86) (32-bit app. on 64-bit OS) Out of Application Context: E.g.: C:Program Files (on both 32-bit and 64-bit) |
ProgramFiles64 | Program Files system folder on 64-bit systems E.g.: C:Program Files |
System / System32 | The Windows System folder E.g.: C:WindowsSystem32 (on both 32-bit and 64-bit) |
SysWOW64 | The windows System folder for 32-bits applications on 64-bit systems E.g.: C:WindowsSYSWOW64 |
ScenseSystemDir | The Windows system folder (architecture dependent) E.g.: C:Windowssystem32 (on 32-bit systems) C:WindowsSYSWOW64 (on 64-bit systems) |
ApplicationArchitecture | Architecture indication for the application E.g.: 64bit |
OSArchitecture | Processor architecture for the current operating system E.g.: 32bit |
Application Architecture.
The administrator can specify an architecture for the application. This will allow applications to be used in mixed environments of both 32-bit and 64-bit operating systems. A 64-bit application can only run on a 64-bit operating system. But a 32-bit application can run on both 64-bit and 32-bit systems.
Another type of application that potentially can run on both 64-bit and 32-bit is the .NET application.
A .NET application will potentially be compiled “just-in-time” (JIT) for the processor architecture on which it is run. So it will be a 32-bit application on a 32-bit system and a 64-bit application on a 64-bit system.
Scense allows these applications to be created once and run on both platforms.
The table below shows how to set the Architecture for different Application Types in such a way that they work on different platforms.
Application Type | Architecture | 32-bit OS | 64-bit OS |
32-bit application | 32 | Yes | Yes |
64-bit application | 64 | No | Yes |
.NET application | 64 | Yes | Yes |
As pure 64-bit application probably will not run on 32-bit systems, the best way of avoiding errors is to set conditions on the applications shortcuts evaluating the %OSArchitecture% variable.