Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In-process DLL with corrupted temp path
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
In-process DLL with corrupted temp path
Miscellaneous
Thread ID:
00664177
Message ID:
00664177
Views:
81
We've experienced a problem with in-process DLLs having their temp file path corrupted. It seems to have something to do with the parent application changing working folders, but we can't verify that 100%.

The SYS(2023) generally returns garbage when this happens. We notice it when we do a:

SELECT READWRITE

or a

SELECT
USE (DBF()) AGAIN IN 0

And it tells use the file doesn't exist and gives another folder as the path to the file. I assume it's because the real temp path, can't be found because of the corruption and it searches other possible locations. The temp file does actually get created where it's supposed to, but VFP can't find it there to make it read/write.

Anyone know how to fix this?
Thanks,
Mike
Next
Reply
Map
View

Click here to load this message in the networking platform