Re: XForms: File Selector

Date: Tue Jul 03 2001 - 10:00:33 EDT

  • Next message: Robert Williams: "XForms: Compile: flcolor.o(.text+0x1139): undefined reference to `_IO_stderr_'"

    # To subscribers of the xforms list from :

    > Hi all, I have a problem using file selector. When I type into the
    > directory box a path name which does not exist, the aplication
    > crashes. How can I control this ?.

    The FileSelector goodie makes no check to see whether the file exists
    or not -- this is up to your application. If you are attempting to
    open the file for input, simply check the result of fopen() for NULL.
    If it's NULL, then take appropriate corrective action.

    To unsubscribe, send the message "unsubscribe" to or see
    XForms Home Page:
    List Archive:

    This archive was generated by hypermail 2b29 : Tue Jul 03 2001 - 10:08:04 EDT