Exemplo n.º 1
0
        public static int LLFileExtract(string zipfile, string expath, DelegateMethodExtractProgress dprogress, DelegateMethodExtractError derror)
        {
            IntPtr ptrprogress = Marshal.GetFunctionPointerForDelegate(dprogress);
            IntPtr ptrerror    = Marshal.GetFunctionPointerForDelegate(derror);

            return(LLFileExtract(zipfile, expath, ptrprogress, ptrerror));
        }
Exemplo n.º 2
0
 public UpgradeFiles()
 {
     Handle_ExtractProgress = new DelegateMethodExtractProgress(UF_Event_UnZipFileProgress);
     Handle_UnZipError      = new DelegateMethodExtractError(UF_Event_UnZipError);
 }