FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveMac / FivePhone (iPhone, iPad) path command to libary
Posts: 166
Joined: Wed Nov 25, 2015 07:13 PM
path command to libary
Posted: Wed Mar 01, 2017 07: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: path command to libary
Posted: Thu Mar 02, 2017 07: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: path command to libary
Posted: Thu Mar 02, 2017 08:22 AM
Code (fw): Select all Collapse
HB_FUNC( LIBRARYPATH )
{
   NSString * Userpath = [ @"~/Library" stringByExpandingTildeInPath ];
   
   hb_retc( [ Userpath cStringUsingEncoding : NSWindowsCP1252StringEncoding ] );
}
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion