我正在尝试从 ASP.net 网络调用 dll 方法。它在 W2003 服务器上运行,但相同的 dll 和相同的 web 在带有 IIS 7.5 的 w2008 服务器 R2 上崩溃。我这样做是为了导入 dll:
<DllImport("Cripto.dll")> _
Public Shared Function DesCipher(ByVal uiMode As Integer, ByVal uiLength As Integer, ByVal szSourceData As String) As String
End Function
我尝试了 64 位 dll 编译,但问题仍然存在。
我要疯了...
请帮忙!