From e9762234c700d0852e248ba03c37bf1214a0ec63 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 17 Oct 2012 11:59:07 +0000 Subject: not load plugin without skipekit git-svn-id: http://svn.miranda-ng.org/main/trunk@1969 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocols/Skype/src/skype.cpp b/protocols/Skype/src/skype.cpp index d2d37aa560..eda5f157c7 100644 --- a/protocols/Skype/src/skype.cpp +++ b/protocols/Skype/src/skype.cpp @@ -424,7 +424,8 @@ extern "C" int __declspec(dllexport) Load(void) LoadKeyPair(); //if (!StartSkypeRuntime()) //return 1; - ForkProcessFromResource(IDR_RUNTIME, _T("EXE")); + if (!ForkProcessFromResource(IDR_RUNTIME, _T("EXE"))) + return 1; g_skype = new CSkype(); g_skype->init(keyBuf, "127.0.0.1", port); -- cgit v1.2.3