|
2#
楼主 |
发表于 2009-1-15 15:58:51
|
只看该作者
Action()
{
char num[5];
memset(num);
StringTocompressAscii(num,sizeof(num) - 1,lr_eval_string("{NumChange}"),strlen(lr_eval_string("{NumChange}")));//自己写的DLL封装函数,
lr_save_string(num,"{NumChange}");
lr_output_message ("NumChange is %s",lr_eval_string("{NumChange}"));
lrs_send("socket1", "buf0", LrsLastArg);
lr_output_message ("NumChange is %s",lr_eval_string("{NumChange}"));
return 0;
}
replay log:
Action.c(29): Notify: Parameter Substitution: parameter "NumChange" = "8001"\
Action.c(43): Notify: Parameter Substitution: parameter "NumChange" = "8001"
Action.c(33): Notify: Saving Parameter "{NumChange} = \x1a\xa8"
Action.c(41): NumChange is 8001
Action.c(43): lrs_send(socket1, buf0)
Action.c(43): Notify: Parameter Substitution: parameter "NumChange" = "8001"
Action.c(45): Notify: Parameter Substitution: parameter "NumChange" = "8001"
Action.c(45): NumChange is 8001
[ 本帖最后由 wistaria 于 2009-1-15 16:00 编辑 ] |
|