调用易语言dll有问题!!
运行报异常:
尝试读取或写入受保护的内存。这通常指示其他内存已损坏
代码:
[DllImport("demo.dll", EntryPoint = "test", CharSet = CharSet.Auto)]
public static extern int test(string kjqz, string khd_asp, string yzm_asp, string zdfh_asp, string password, string sbm);
int result = pcsh("zhaowang11234", "abc/", "a.asp", "b.asp", "234234234234", "10000008");
[解决办法]
不懂易语言。。。