username 5 years ago
parent
commit
5e3490b2c5
1 changed files with 3 additions and 2 deletions
  1. 3 2
      SmartSEMControl/SmartSEM.cs

+ 3 - 2
SmartSEMControl/SmartSEM.cs

@@ -69,8 +69,9 @@ namespace SmartSEMControl
         /// <returns>return:true or false</returns>
         public Boolean Init()
         {
-            lrt = CZEMApi.Initialise("");
-            if(lrt!=0)
+            //lrt = CZEMApi.Initialise("");
+            lrt = CZEMApi.InitialiseRemoting();
+            if (lrt!=0)
             {
                 m_bInitialised = false;
                 return false;