|
代码很简单
Action()
{
int ret;
lr_load_dll ("rtp_dll.dll");
ret=final();
lr_log_message("%d",ret);
return 0;
}
rtp_dll.dll是我用VC编译的动态链接库。
运行时就会报错
Virtual User Script started
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(7): Error: C interpreter run time error: Action.c (7): Error -- memory violation : Exception ACCESS_VIOLATION received.
Action.c(7): Notify: CCI trace: Action.c(7): final()
.
Action.c(7): Notify: CCI trace: Compiled_code(0): Action()
.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
有谁知道这个问题怎么解决? |
|