|
错误提示为:ction.c (219): syntax error; found "n" expecting `)'
Action.c (219): skipping "n"
Action.c (219): redeclaration of `lr_output_message' previously declared at C:\\Program Files\\Mercury Interactive\\Mercury LoadRunner\\include/lrun.h (498)
c:\\program files\\mercury interactive\\mercury loadrunner\\scripts\\comswebconsole\\\\combined_ComsWebConsole.c (4): 3 errors, not writing pre_cci.ci
代码为:
#include "web_api.h"
Action()
{
web_url("minimize.gif_2",
"URL=http://localhost:8080/Images/minimize.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://localhost:8080/Web/FunctionsForm.aspx",
LAST);
}
lr_output_message("n");
我看了lrun.h里面关于lr-output-message的定义,是这样的:int LR_MSG_FUNC lr_output_message PROTO((LPCSTR fmt, ...)); |
|