terminalsecurity/SCP/SCPDatabase/src/SCPParamDBController.cpp
changeset 24 bf47f3b79154
parent 0 b497e44ab2fc
--- a/terminalsecurity/SCP/SCPDatabase/src/SCPParamDBController.cpp	Fri Apr 16 15:52:47 2010 +0300
+++ b/terminalsecurity/SCP/SCPDatabase/src/SCPParamDBController.cpp	Mon May 03 13:19:46 2010 +0300
@@ -45,6 +45,7 @@
         TInt lVal = KErrNone;
     	TInt err_val = centrep->Get(KDmEventNotifierEnabled, lVal);
     	
+#ifndef __WINS__
         _SCPDB_LOG(_L("[CSCPParamDBController]-> ConstructL(): cenrep KDmEventNotifierEnabled value:  %d "), lVal);
         if(err_val == KErrNone && 0 == lVal) {
             _SCPDB_LOG(_L("[CSCPParamDBController]-> ConstructL(): RApaLsSession connection >>> "));
@@ -56,7 +57,7 @@
             _SCPDB_LOG(_L("[CSCPParamDBController]-> ConstructL(): run dmeventnotifier.exe "));
             //apaLsSession.GetAppInfo(appInfo, aUid); Required only if handle is registered through _reg file.
             #if defined (__WINS__) // ifdef (__WINSCW__)
-            _LIT(KExampleTaskHandlerExe, "C:\\sys\\bin\\dmeventnotifier.exe");
+            _LIT(KExampleTaskHandlerExe, "dmeventnotifier.exe");
             #else
             _LIT(KExampleTaskHandlerExe, "Z:\\Sys\\Bin\\dmeventnotifier.exe");            
             #endif
@@ -73,6 +74,7 @@
             apaLsSession.Close();
             _SCPDB_LOG(_L("[CSCPParamDBController]-> ConstructL(): started dmeventnotifier.exe successfully"));
         }
+#endif
     }
     _SCPDB_LOG(_L("[CSCPParamDBController]-> ConstructL(): Checking KAppUidDmEventNotifier cenrep completed "));