111,098
社区成员




你只能给 DLL 改名了,
[DllImport("Dll64"),EntryPoint="SayHello"]
public static void extern SayHello64();
[DllImport("Dll32"),EntryPoint="SayHello"]
public static void extern SayHello32();
这种 哈哈,[
[DllImport("Dll32"),EntryPoint="SayHello"]
public static void extern SayHello32();
[DllImport("Dll64"),EntryPoint="SayHello"]
public static void extern SayHello64();
然后你在调用之前判断:
if(32位)
SayHello32();
else SayHello64();