Real Software Forums
http://forums.realsoftware.com/

declare function help
http://forums.realsoftware.com/viewtopic.php?f=7&t=47331
Page 1 of 1

Author:  theRealOne [ Tue Mar 19, 2013 7:50 am ]
Post subject:  declare function help

who can help to use the function below from within rb?

NetFSMountURLSync(CFURLRef url, CFURLRef mountpath, CFStringRef user, CFStringRef passwd, CFMutableDictionaryRef open_options, CFMutableDictionaryRef mount_options, CFArrayRef *mountpoints);


thanks in advance.


pls no plugin ads!

Author:  rowlands [ Tue Mar 19, 2013 9:39 pm ]
Post subject:  Re: declare function help

theRealOne wrote:
who can help to use the function below from within rb?

NetFSMountURLSync(CFURLRef url, CFURLRef mountpath, CFStringRef user, CFStringRef passwd, CFMutableDictionaryRef open_options, CFMutableDictionaryRef mount_options, CFArrayRef *mountpoints);


thanks in advance.


pls no plugin ads!

This is not going to be a quick conversion, you'll also need to have access to quite a few Core Foundation objects, which in turn is going to be a lot of work. Either look at the macOSlib project or you may want to consider plugins to simplify this.

Author:  MonkeybreadSoftware [ Wed Mar 20, 2013 4:33 am ]
Post subject:  Re: declare function help

If you consider our plugins, I could add you that function today.
(and the others from NetFS.h)

Greetings
Christian

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/