Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP's share setting for opening source files?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP's share setting for opening source files?
Miscellaneous
Thread ID:
00699834
Message ID:
00699834
Views:
68
Hello. I have written a simple PRG to search my VCX files for certain pieces of text. However, if I run it while I have the class open in VFP(viewing code), I am unable to open the file. My program attempts an FOPEN(,0) on the file to determine if it can get readonly access to it, and this fails. The only thing I can guess, is that VFP opens source files in a non-sharable way(dwShareMode==0). Is there any way to have VFP open source files("vcx", "scx", etc.) in a shared way(dwShareMode==FILE_SHARE_READ)? The files on the file system are already read-only(VSS does this), so there are no data integrety issues. Ideas? Thanks.
Derek J. Kalweit
Software Engineer
Microworks POS Solutions, Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform