Код: Выделить всё
CCJournalFW Jrn;
CCVarFW clVarFW;
clVarFW.SetVar("TESTVAR", "130\0");
Jrn.Write(6002, CC_JRN_FW_DEVICE_DEFAULT );
I use CCVarFW directly to set any custom variable.This is the result ( 12:57:34 TEST: $TESTVAR$ SUCCESS)
It might be (12:57:34 TEST: 130 SUCCESS )
This is my TESTVAR registry declaration:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor Nixdorf\ProTopas\CurrentVersion\DATADICT\PROPERTIES\TESTVAR]
"OWNER_FW"="CCVarFW"
"DATA_TYPE"="STRING"
REGISTRY :
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor Nixdorf\ProTopas\CurrentVersion\CCSYSMSG\TOPMSG]
"DEST6002"="3"
"MSG6002"="@005 TEST: $TESTVAR$ SUCCESS#NL#"
Can someone tell me where is my problem?
Thanks