Hi All;
I hope somebody can help me with this. I have a stay-resident program under windows xp, that reads/writes to VFP 6 tables. No problem. Here is the problem, if I first open those tables with vfp 6 in shared mode, then have the stay-resident progrm (mEnable) access those files, then close them in vfp 6, I can't get vfp 6 to reopen them exclusively. However, if I completely exit vfp 6 back to the desktop and then restart vfp 6, I can once again place an exclusive lock on the files.
Since the stay-resident program is running all the time and its only a matter of exiting and then reentering vfp, I am at the conclusion that there is a bug in vfp 6.
To be more exact, this scenario fails 100% of the time--and it shouldn't:
1. open files with vfp in shared moded.
2. let stay-resident program read/write to files.
3. close files with vfp 6
4. try to open files again with vfp 6 in exclusive mode--won't happen!
Any ideas anybody?
Any help is appreciated...having to completely exit then restart vfp is not a good option.
Alan
p.s. I'm being told to drop vfp in favor of sql, sybase, or oracle--I really don't want to do that.
I hope somebody can help me with this. I have a stay-resident program under windows xp, that reads/writes to VFP 6 tables. No problem. Here is the problem, if I first open those tables with vfp 6 in shared mode, then have the stay-resident progrm (mEnable) access those files, then close them in vfp 6, I can't get vfp 6 to reopen them exclusively. However, if I completely exit vfp 6 back to the desktop and then restart vfp 6, I can once again place an exclusive lock on the files.
Since the stay-resident program is running all the time and its only a matter of exiting and then reentering vfp, I am at the conclusion that there is a bug in vfp 6.
To be more exact, this scenario fails 100% of the time--and it shouldn't:
1. open files with vfp in shared moded.
2. let stay-resident program read/write to files.
3. close files with vfp 6
4. try to open files again with vfp 6 in exclusive mode--won't happen!
Any ideas anybody?
Any help is appreciated...having to completely exit then restart vfp is not a good option.
Alan
p.s. I'm being told to drop vfp in favor of sql, sybase, or oracle--I really don't want to do that.