 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Geir Baardsen Guest
|
Posted: Thu Mar 24, 2005 10:50 am Post subject: FindData |
|
|
I try to use a procedure that receives the last access data of a file,
but keep getting the message: FindData is spesific to a platform.
Now I use win98 and D6, so if FindData, declared in the SysUtils, is
specific to a platform and not win98, what is wrong?
e.g.:
(((TLargeInteger(SearchRec.FindData....etc
Anybody got an example of how to access this information.
I want to check when and if a user accessed a certain file of those he
is allowed to access.
Me.Name
|
|
| Back to top |
|
 |
Tom de Neef Guest
|
Posted: Thu Mar 24, 2005 11:54 am Post subject: Re: FindData |
|
|
"Geir Baardsen" <geir_baardsen (AT) hotmail (DOT) com> schreef in bericht
news:35f9d8b7.0503240250.4e9f379c (AT) posting (DOT) google.com...
| Quote: | I try to use a procedure that receives the last access data of a file,
but keep getting the message: FindData is spesific to a platform.
Now I use win98 and D6, so if FindData, declared in the SysUtils, is
specific to a platform and not win98, what is wrong?
e.g.:
(((TLargeInteger(SearchRec.FindData....etc
Anybody got an example of how to access this information.
I want to check when and if a user accessed a certain file of those he
is allowed to access.
|
I use FileAge or FileGetDate, but that may not give the same date info that
you require.
Tom
|
|
| Back to top |
|
 |
J French Guest
|
Posted: Thu Mar 24, 2005 1:19 pm Post subject: Re: FindData |
|
|
On 24 Mar 2005 02:50:20 -0800, [email]geir_baardsen (AT) hotmail (DOT) com[/email] (Geir
Baardsen) wrote:
| Quote: | I try to use a procedure that receives the last access data of a file,
but keep getting the message: FindData is spesific to a platform.
Now I use win98 and D6, so if FindData, declared in the SysUtils, is
specific to a platform and not win98, what is wrong?
e.g.:
(((TLargeInteger(SearchRec.FindData....etc
Anybody got an example of how to access this information.
I want to check when and if a user accessed a certain file of those he
is allowed to access.
|
FindFirst [F1] ?
|
|
| Back to top |
|
 |
Kent Briggs Guest
|
Posted: Thu Mar 24, 2005 3:54 pm Post subject: Re: FindData |
|
|
Geir Baardsen wrote:
| Quote: | I try to use a procedure that receives the last access data of a file,
but keep getting the message: FindData is spesific to a platform.
Now I use win98 and D6, so if FindData, declared in the SysUtils, is
specific to a platform and not win98, what is wrong?
|
Show us your code. I use FindData, it works on all Windows platforms 95
through XP.
--
Kent Briggs, [email]kbriggs (AT) spamcop (DOT) net[/email]
Briggs Softworks, http://www.briggsoft.com
|
|
| Back to top |
|
 |
Rob Kennedy Guest
|
Posted: Thu Mar 24, 2005 4:29 pm Post subject: Re: FindData |
|
|
Geir Baardsen wrote:
| Quote: | I try to use a procedure that receives the last access data of a file,
but keep getting the message: FindData is spesific to a platform.
Now I use win98 and D6, so if FindData, declared in the SysUtils, is
specific to a platform and not win98, what is wrong?
|
The platform it is specific to is Windows. As opposed to Linux. Delphi 6
and Kylix were siblings.
--
Rob
|
|
| Back to top |
|
 |
J French Guest
|
Posted: Thu Mar 24, 2005 6:38 pm Post subject: Re: FindData |
|
|
On Thu, 24 Mar 2005 10:29:08 -0600, Rob Kennedy <me3 (AT) privacy (DOT) net>
wrote:
| Quote: | Geir Baardsen wrote:
I try to use a procedure that receives the last access data of a file,
but keep getting the message: FindData is spesific to a platform.
Now I use win98 and D6, so if FindData, declared in the SysUtils, is
specific to a platform and not win98, what is wrong?
The platform it is specific to is Windows. As opposed to Linux. Delphi 6
and Kylix were siblings.
|
Nope Rob - D8 or 9 was the pseuodo Linux attempt
|
|
| Back to top |
|
 |
Rob Kennedy Guest
|
Posted: Thu Mar 24, 2005 6:51 pm Post subject: Re: FindData |
|
|
J French wrote:
| Quote: | On Thu, 24 Mar 2005 10:29:08 -0600, Rob Kennedy
wrote:
The platform it is specific to is Windows. As opposed to Linux. Delphi 6
and Kylix were siblings.
Nope Rob - D8 or 9 was the pseuodo Linux attempt
|
Those are .Net. Not related to Linux at all (unless you count Mono).
Delphi 6 came with CLX, as did Kylix. Presumably, you could write a CLX
application in either product and then compile it in the other, but not
if your code triggered any of the "platform" warnings Geir mentioned.
--
Rob
|
|
| Back to top |
|
 |
J French Guest
|
Posted: Fri Mar 25, 2005 10:29 am Post subject: Re: FindData |
|
|
On Thu, 24 Mar 2005 12:51:10 -0600, Rob Kennedy <me3 (AT) privacy (DOT) net>
wrote:
| Quote: | J French wrote:
On Thu, 24 Mar 2005 10:29:08 -0600, Rob Kennedy
wrote:
The platform it is specific to is Windows. As opposed to Linux. Delphi 6
and Kylix were siblings.
Nope Rob - D8 or 9 was the pseuodo Linux attempt
Those are .Net. Not related to Linux at all (unless you count Mono).
Delphi 6 came with CLX, as did Kylix. Presumably, you could write a CLX
application in either product and then compile it in the other, but not
if your code triggered any of the "platform" warnings Geir mentioned.
|
Ouch - I think my memory is getting raddled.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|