memory violation方面错误
memory violation方面错误因为长时间不用到loadrunner, 这几天用到感到很陌生。出错部分
char * var_pre, *var_id;
TE_get_text_line(20,23,3,var_pre);
TE_get_text_line(23,23,8,var_id);
lr_save_string("var_pre",var_pre);
lr_save_string("var_id",var_id);
lr_output_message(lr_eval_string("{var_pre}"));
lr_output_message(lr_eval_string("{var_id}"));
错误信息:
Error -- memory violation : Exception ACCESS_VIOLATION received. 不好意思,刚才定义错啦,char var_pre, var_id;
这样就没有问题. 没遇到过,等大虾!
页:
[1]