diff --git a/WeChatFerry/spy/Spy.vcxproj b/WeChatFerry/spy/Spy.vcxproj
index cbe58f1..ca8ea82 100644
--- a/WeChatFerry/spy/Spy.vcxproj
+++ b/WeChatFerry/spy/Spy.vcxproj
@@ -105,7 +105,8 @@
Windows
true
false
- spy.def
+
+
/ignore:4099 %(AdditionalOptions)
$(SolutionDir)smc;%(AdditionalLibraryDirectories)
iphlpapi.lib;wsock32.lib;ws2_32.lib;crypt32.lib;Codec.lib;%(AdditionalDependencies)
@@ -158,7 +159,8 @@ xcopy /y $(SolutionDir)DISCLAIMER.md $(SolutionDir)..\clients\python\wcferryWindows
true
false
- spy.def
+
+
/ignore:4099 %(AdditionalOptions)
$(SolutionDir)smc;%(AdditionalLibraryDirectories)
iphlpapi.lib;wsock32.lib;ws2_32.lib;crypt32.lib;Codec.lib;%(AdditionalDependencies)
@@ -212,7 +214,8 @@ xcopy /y $(SolutionDir)DISCLAIMER.md $(SolutionDir)..\clients\python\wcferrytrue
false
false
- spy.def
+
+
$(SolutionDir)smc;%(AdditionalLibraryDirectories)
iphlpapi.lib;wsock32.lib;ws2_32.lib;crypt32.lib;Codec.lib;%(AdditionalDependencies)
/ignore:4099 %(AdditionalOptions)
@@ -282,7 +285,6 @@ xcopy /y $(SolutionDir)DISCLAIMER.md $(SolutionDir)..\clients\python\wcferry
-
diff --git a/WeChatFerry/spy/Spy.vcxproj.filters b/WeChatFerry/spy/Spy.vcxproj.filters
index 313caee..dafe11c 100644
--- a/WeChatFerry/spy/Spy.vcxproj.filters
+++ b/WeChatFerry/spy/Spy.vcxproj.filters
@@ -142,9 +142,6 @@
-
- 源文件
-
nnrpc
diff --git a/WeChatFerry/spy/spy.cpp b/WeChatFerry/spy/spy.cpp
index 14d36f7..cc7e6b0 100644
--- a/WeChatFerry/spy/spy.cpp
+++ b/WeChatFerry/spy/spy.cpp
@@ -44,5 +44,5 @@ void Cleanup()
extern "C" {
__declspec(dllexport) int InitSpy(void *args) { return Spy::Init(args); }
-__declspec(dllexport) void CleanupSpy() { Spy::Cleanup(); }
+__declspec(dllexport) int CleanupSpy() { Spy::Cleanup(); return 0;}
}
diff --git a/WeChatFerry/spy/spy.def b/WeChatFerry/spy/spy.def
deleted file mode 100644
index 3005a19..0000000
--- a/WeChatFerry/spy/spy.def
+++ /dev/null
@@ -1,3 +0,0 @@
-EXPORTS
- InitSpy
- CleanupSpy