网站用后台调用了一个C写的DLL 源代码中调用没有错误 在服务器上就出现页面无法显示 请问是什么原因 主要功能是把这个文件地址传进去 dll中对文件加密
protected void Page_Load(object sender, EventArgs e)
{
license_prog_818_file(Server.MapPath("~/kp818_v16_04_en.bin"), "860111111111");
} [DllImport("License.dll", EntryPoint = "license_prog_818_file", CharSet = System.Runtime.InteropServices.CharSet.Ansi)]
public static extern int license_prog_818_file(string zip_file_path_name, string box_no);
protected void Page_Load(object sender, EventArgs e)
{
license_prog_818_file(Server.MapPath("~/kp818_v16_04_en.bin"), "860111111111");
} [DllImport("License.dll", EntryPoint = "license_prog_818_file", CharSet = System.Runtime.InteropServices.CharSet.Ansi)]
public static extern int license_prog_818_file(string zip_file_path_name, string box_no);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货