Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API Call
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00192011
Message ID:
00192266
Views:
22
This task is not at all easy in VFP. I did it once and it's quite difficult, even with my Pointers class or any equiv. utility. Although it's doable, I wouldn't recommend it because there are still some issues that cannot be handled properly in VFP. A C/C++ wrapper is much more appropriate.

Besides this, there are some bugs related to security on files/directories on WinNT 4.0 with no service pack. I mean: the OS is handling everything consistent (I couldn't find any security break), but what you'll find in the security attached to a file/directory may not be what you find in the docs. And this makes it impossible to be sure that what you're doing is ok (even in C++). There are also bugs in the docs for some security related functions...

I couldn't replicate the same problems on WinNT SP3 or 4. But the docs are still poor.

The method suggested by Mark is much more simpler and reliable (if applicable).

Vlad

>Could someone tell me what API call is used to get the user's rights for a particular directory. (ie. read/write) I'm sure that there is one but I don't know what it is.
>Thanx,
>Bill
Previous
Reply
Map
View

Click here to load this message in the networking platform