Problem with Journals

Please, create your topics here (Any questions)
darko691
Прохожий
Сообщения: 4
Зарегистрирован: 01 мар 2018, 00:18

Problem with Journals

Непрочитанное сообщение darko691 »

Hi every one, I wrote this code

Код: Выделить всё

CCJournalFW Jrn;
CCVarFW clVarFW;
clVarFW.SetVar("TESTVAR", "130\0");
Jrn.Write(6002, CC_JRN_FW_DEVICE_DEFAULT );
that set TESTVAR to 130 but when i start the program in journal it doesn't gave me the value(130) in the result
This is the result ( 12:57:34 TEST: $TESTVAR$ SUCCESS)
It might be (12:57:34 TEST: 130 SUCCESS )
I use CCVarFW directly to set any custom variable.

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
Ответить