Login Page - Create Account

Support Board


Date/Time: Mon, 03 Feb 2025 19:52:22 +0000



Post From: error after replacing PersisVars

[2019-11-28 11:05:43]
User275592 - Posts: 97
Hi,

I am trying to compile an old study for the 64-bit version of SierraChart

I replaced "PersistVars" by "GetPersistentInt" in the following line of code : "int& MenuID1 = sc.PersistVars->i1;"

I get an error : "error C2227: left of '->i1' must point to class/struct/union/generic type" when i compile the new code "int& MenuID1 = sc.GetPersistentInt->i1;"

Thank you for your help