Hello, I'm trying to use the NSFileManagerMBS class.
At first, I tried with the shared class: dim ne As NSErrorMBS s=<path to an item> if not NSFileManagerMBS.createSymbolicLink(f,s,ne) then Return 17 Xojo complained: “There is more than one method with this name but this does not match any of the available signatures.”. I triple-checked: s is a string, f is a folderitem; like the documentation states. Then I tried with an instance: dim ne As NSErrorMBS dim nf As new NSFileManagerMBS s=<path to an item> if not nf.createSymbolicLink(f,s,ne) then Return 17 This time, Xojo is complaining twice: same as above and “Type mismatch error. Expected Boolean, but got Int32”. The documentation clearly tells the returned value is a boolean. For the sake of checking, I tried with an int32: dim ne As NSErrorMBS dim nf As new NSFileManagerMBS s=<path to an item> i=nf.createSymbolicLink(f,s,ne) if i<>0 then Return 17 Same error about not matching any of the available signatures. What is the proper syntax for this function, then? _______________________________________________ mbsplugins@monkeybreadsoftware.info mailing list %(list_address)s https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info