Paradox Community

Items in pnews.paradox-programming

Subject:Re: SetDir()
Date:16 Apr 2021 11:06:10 -0400
From:"Kevin Zawicki" <numberjack@wi.rr.com>
Newsgroups:pnews.paradox-programming



I have systems using "Paradox file system" for 20+ years.
For basic get dir, get path, etc. there does not seem to be "full of memory
black holes", there are some in findfirst I think. You are overstating.


So far (going on years now) all the basic and maybe all the filesystem calls
work under Windows 10.




Tom Krieg <REMOVEtomkCAPITALS@sdassociates.com.au> wrote:
>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