Support Board
Date/Time: Tue, 22 Apr 2025 06:31:47 +0000
Post From: v2734 : Forbidding external launch of sub-instances
[2025-01-22 11:48:04] |
Sébastien - Posts: 58 |
It works again ! Thank you very much. For those interested to use the same kind of script, here is how it works : - Right clic on your desktop and create a new shortcut. - In the path field, copy/past the following script : C:\Windows\System32\cmd.exe /c start "SierraChart 1" /High /affinity 1 "E:\SierraChart\SierraChart_64.exe"
You need to adapt the path (E:\SierraChart\SierraChart_64.exe) to your own Sierrachart directory/high will give high priority to Sierrachart_64.exe /affinity 1 will launch SierraChart on the CPU core 0 The value 1 is a hexadecimal value that is converted from binary. Lets say you have a 8 core CPU : Core 0 = 00000001 binary = 1 HEX Core 1 = 00000010 = 2 Core 2 = 00000100 = 4 Core 3 = 00001000 = 8 Core 4 = 00010000 = 10 Core 5 = 00100000 = 20 Core 6 = 01000000 = 40 Core 7 = 10000000 = 80 You can use an online Binary to HEX converter to find the HEX value you need to use if you have more cores : https://www.rapidtables.com/convert/number/binary-to-hex.html Date Time Of Last Edit: 2025-01-22 17:05:21
|