Paradox Community

Items in pnews.paradox-programming

Subject:Re: SetDir()
Date:Fri, 16 Apr 2021 11:58:42 +1000
From:Tom Krieg <REMOVEtomkCAPITALS@sdassociates.com.au>
Newsgroups:pnews.paradox-programming
Why are you using the Paradox file system? It's apparently full of 
memory black holes. Use Vladimir's file system API library instead.

Oh wait ... does that still work under Windows 10?

On 16/04/2021 7:44 am, Peter wrote:
> var
> fsy             filesystem
> strCurrentDirectory    string
> endvar
> 
> 1) strCurrentDirectory = fsy.getDir()
> 2) fsy. SetDir(:PRIV:)
> 3) fsy.findFirst("file1")
> 4) fsy.SetDir(strCurrentDirectory) ;//doesn't work
> 
> #4 doesn't work because getdir() returns the string with single "\"
> 
> So what I wuld like to do is capture the current alias. How do I do 
> that? Thank you for any help.
> 
> 
> Peter


Copyright © 2004 thedbcommunity.com