|
我用visual 2008做了一个dll文件,有个md5方法,名字叫strtomd5(),把dll放在bin目录底下,但是lr调用的时候,总提示
Starting action Action.
Action.c(14): Error: C interpreter run time error: Action.c (14): Error -- Unresolved symbol : strtomd5.
Action.c(14): Notify: CCI trace: Compiled_code(0): Action()
有没有高手帮我确认一下问题!
我的lr代码:
char key[20]="sd53ie893445uyr874";
char mediu[200] ="";
char result[100];
char bmediu[20];
char url[100],url1[100];
char md5char[100];
int httpcode;
Action()
{
billnum++;
itoa(billnum,bmediu,20);
lr_load_dll("Md52.dll");
strtomd5(mediu);
strcpy(mediu,"123");
strcat(mediu,"1");
strcat(mediu,"wangk");
strcat(mediu,"108");
strcat(mediu,"1");
strcat(mediu,bmediu);
strcat(mediu,"remark");
//iroa(strtomd5(mediu),md5char,100);
//strcpy(result,strtomd5(mediu));
strcpy(url1,"Value=");
strcat(url1,bmediu);
strcpy(url,"Value=");
strcat(url,"1");
//strcat(url,""
lr_start_transaction("充值");
web_submit_data("SendMoney",
"Action=http://192.168.0.181:8888",
"Method=POST",
"RecContentType=text/html",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=chargeAccount", "Value=123", ENDITEM,
"Name=serverID", "Value=1", ENDITEM,
"Name=targetAccount", "Value=000053", ENDITEM,
"Name=channel", "Value=108", ENDITEM,
"Name=payCount", "Value=1", ENDITEM,
"Name=billNum", url1, ENDITEM,
"Name=remark", "Value=remark", ENDITEM,
//"Name=verificationCode",url, ENDITEM,
LAST);
httpcode=web_get_int_property(HTTP_INFO_RETURN_CODE);
//httpcode=wen_get
itoa(httpcode,mediu,10);
lr_log_message("充值返回= %s",mediu);
lr_end_transaction("充值", LR_AUTO);
return 0;
} |
|