Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple VFP instances, clashing tmp filenames
Message
 
To
07/01/2009 15:52:59
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01371808
Message ID:
01372088
Views:
25
The real solution from MS would be to have unique filenames that take simultaneous instances into account by adding a thread or process id to the unique filename. Or even easier have GUID based filenames.

But - alas - not likely to happen for getting fixed.

There are a few more ideas on how this might be approached on the message board:

http://www.west-wind.com/wwThreads/default.asp?Thread=2JX15LERN&MsgId=2JZ0H2CTM


+++ Rick ---

>Al, it's a good idea but it looks as if the VFP exe gets run as a separate process, iow not part of the COM instance.
>
>I have to laugh... in the past I've emphasized VFP's automatic dataset spooling to disk as an amazing advantage and now it's come back and bitten me on the proverbial. ;-) If JVP were here, finally he could quote a scaling limitation of VFP to which there is no easy answer. ;-)
>
>IMHO probably it would be quite easy for MS to create a new config.fpw setting to automatically create a unique temp folder location for each instance. Shame this didn't happen a bit earlier, right? ;-)
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform