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)); }
public UpgradeFiles() { Handle_ExtractProgress = new DelegateMethodExtractProgress(UF_Event_UnZipFileProgress); Handle_UnZipError = new DelegateMethodExtractError(UF_Event_UnZipError); }