General information
Category:
COM/DCOM and OLE Automation
Title:
In-process DLL with corrupted temp path
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only