A customer reported to me that Set(_SET_PATH,cPath) does not work with multiple paths under Windows 10.
It only finds files in the FIRST directory in the string.
I don't have Windows 10.
Can anyone verify this?
Set PATH in Windows 10
Set PATH in Windows 10
The eXpress train is coming - and it has more cars.
Re: Set PATH in Windows 10
I now have a computer with Windows 10.
I determined that this is NOT an Xbase++ problem. It is an eXpress++ problem.
For many years, I used FClose(Fopen(cFileName)) to test if a file exists and could be opened with dbUseArea().
This now fails under Windows 10 and always returns a .T. even if the file does not exist.
I fixed this problem in several files in eXpress++, but the most common usage was in DC_PathFound() which would fail under Windows 10. This problem will be fixed in Build 264. For now, if you are having a problem opening data files with DC_DbFile() or DC_UseArea(), you will need this fix.
Copy _DCPATH.PRG to your \exp19\source\dclipx folder or your \exp20\source\dclipx folder and rebuild DCLIPX.DLL by running BUILD19_SL1.BAT or BUILD20.BAT.
I determined that this is NOT an Xbase++ problem. It is an eXpress++ problem.
For many years, I used FClose(Fopen(cFileName)) to test if a file exists and could be opened with dbUseArea().
This now fails under Windows 10 and always returns a .T. even if the file does not exist.
I fixed this problem in several files in eXpress++, but the most common usage was in DC_PathFound() which would fail under Windows 10. This problem will be fixed in Build 264. For now, if you are having a problem opening data files with DC_DbFile() or DC_UseArea(), you will need this fix.
Copy _DCPATH.PRG to your \exp19\source\dclipx folder or your \exp20\source\dclipx folder and rebuild DCLIPX.DLL by running BUILD19_SL1.BAT or BUILD20.BAT.
- Attachments
-
- dcpath.zip
- (2.19 KiB) Downloaded 799 times
The eXpress train is coming - and it has more cars.