path command to libary

path command to libary

Postby plantenkennis » Wed Mar 01, 2017 7:10 pm

Hello,
It has been a while that i was working on my app, a lot of other things to do.

I am prepering a package to install my app. I think it is wise to put the app in the application folder and the database in the llbary folder. Is there a command that I can use to get the libary folder. I use Path(), Respath() and Userpath(), but I could not find a LibaryPath(). Is there one available.
Kind regards,

René Koot
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands

Re: path command to libary

Postby Antonio Linares » Thu Mar 02, 2017 7:57 am

René,

I have just emailed you the FiveMac libraries with the new function LibraryPath()

many thanks for your great feedback :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: path command to libary

Postby Antonio Linares » Thu Mar 02, 2017 8:22 am

Code: Select all  Expand view  RUN
HB_FUNC( LIBRARYPATH )
{
   NSString * Userpath = [ @"~/Library" stringByExpandingTildeInPath ];
   
   hb_retc( [ Userpath cStringUsingEncoding : NSWindowsCP1252StringEncoding ] );
}
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 4 guests