fix LoadLibrary

This commit is contained in:
clowwindy
2014-12-20 13:17:48 +08:00
parent 7122f82f0b
commit cdac52c19c
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,6 @@ namespace Shadowsocks.Encrypt
try
{
FileManager.UncompressFile(dllPath, Resources.libsscrypto_dll);
LoadLibrary(dllPath);
}
catch (IOException)
{
@@ -32,6 +31,7 @@ namespace Shadowsocks.Encrypt
{
Console.WriteLine(e.ToString());
}
LoadLibrary(dllPath);
}
[DllImport("Kernel32.dll")]
+1
View File
@@ -28,6 +28,7 @@ namespace Shadowsocks.Encrypt
{
Console.WriteLine(e.ToString());
}
LoadLibrary(dllPath);
}
[DllImport("Kernel32.dll")]