3 Replies Latest reply on Jan 13, 2016 8:11 PM by Tiger Ken

    unlockfile Error when build program(c#)

    Tiger Ken

      Version List:

           EPDM Ver: 14.2

           EPDM.Interop.epdm :5.17.0.0

           c#  for Vs2013 for Express

       

      C# Program :

      using EPDM.Interop.epdm;

      ...

      IEdmFile5 aFile = default(IEdmFile5);

      .....

      ....

      try

        {

             aFile.UnLockFile(this.Handle.ToInt32(), "Updated Vendor", 8, null);

        }

      catch (System.Exception ex)

        {

              vault1.MsgBox(0, ex.Message, EdmMBoxType.EdmMbt_OKOnly, "");

        }

      My Question:  Rebuild Project have Error --->> EPDM.Interop.epdm.IEdmFile5 not include 'UnLockFile'

       

      錯誤    1    'EPDM.Interop.epdm.IEdmFile5' 不包含 'UnLockFile' 的定義,也找不到擴充方法 'UnLockFile' 來接受型別 'EPDM.Interop.epdm.IEdmFile5' 的第一個引數 (您是否遺漏 using 指示詞或組件參考?)  

       

      Thank You