29.08.2015, 19:53
It is because you are using MUISet wrong. It it wants a taglist. String literals are not valid for pointers.
You could use GetGlobalStrAddr or this:
[ab3]numericKeys.s = "01234567879"
MUISet 10,#MUIA_String_Accept, &numericKeys[/ab3]
Should work. Have not tested it though. numbericKeys must be a global string to ensure its lifetime is until you free MUI.
You could use GetGlobalStrAddr or this:
[ab3]numericKeys.s = "01234567879"
MUISet 10,#MUIA_String_Accept, &numericKeys[/ab3]
Should work. Have not tested it though. numbericKeys must be a global string to ensure its lifetime is until you free MUI.