Xceed Zip for COM/ActiveX on x86/x64 Documentation
Xceed Zip control reference / Xceed Zip control events / Warning event
In This Topic
    Warning event
    In This Topic

    Description

    The Warning event is generated whenever a recoverable problem is encountered during the execution of one of the Xceed Zip methods. The event provides you with the filename of the file that was being processed when the problem was detected, and the warning code indicating the nature of the problem.

    Declaration (DLL API)  
    Event Warning(sFilename As String, xWarning As xcdWarning)
    Declaration (DLL API)  
    xcdWarningParams * pParams = ( xcdWarningParams * ) lParam;

    Parameters

    Parameter Description
    sFilename  This is the filename of the file currently being processed.
    xWarning  This is a code indicating the type of problem detected with the file.

    Remarks

    If you do not write a handler for this event, you will still get a return value of xerWarnings when the method you are calling completes. This will provide you with an indication that there were warnings despite not having written any code for this event.