Set PATH in Windows 10

This forum is for general support of Xbase++
Post Reply
Message
Author
User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Set PATH in Windows 10

#1 Post by rdonnay »

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?
The eXpress train is coming - and it has more cars.

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Set PATH in Windows 10

#2 Post by rdonnay »

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.
Attachments
dcpath.zip
(2.19 KiB) Downloaded 661 times
The eXpress train is coming - and it has more cars.

Post Reply