Ahh, in that case, the difference you are seeing _is_ a direct result of your current OS emulating the behaviour of DOS via the interrupts that are used by clipper to obtain the directory information. In the very early days of Harbour there was a mechanism that allowed directory() to return the 8.3 filenames, but that support was moved or removed for some reason.
It would not do for the OS to return anything other than 8.3 using the interrupts, as any app wriiten to get directory info that way expects the buffer to only be so big. Paul Date: Thu, 4 Feb 2010 06:36:20 -0800 Subject: Re: [Harbour] Harbour / Clipper Incompatibility Issue: DIRECTORY() uppercase w/ proof of concept From: [email protected] To: [email protected] We haven't changed OS's though. That screenshot was a bad example.. Using the same Windows Vista 32bit OS, clipper 5.2e w/ blinker and Harbour returned different results, hence how I came across this. But we can get around it.. but I just wanted to share what I found in case this was a big deal to the mailing list. Should I take a screenshot that doesn't use a different computer? The only reason I did two different OS's in that case was because I can't get DOS16 apps to compile on Win7, hence I went to a Win2k computer cause it was nearby. But I can show this on my cute laptop which runs WinXP 32-bit. I am curious to try.. I will do it in a few hours. Thanks! 2010/2/4 Przemysław Czerpak <[email protected]> On Wed, 03 Feb 2010, smu johnson wrote: Hi, > Filenames are not converted to uppercase by Harbour functions such as > Directory() was in Clipper. Clipper also does not convert directory names to upper case. It simply returns what OS returns. It can be seen in some network redirectors so Harbour is 100% Clipper compatible. You have problem because you changed the OS and you are not creating DOS application. DOS Harbour builds returns the same result as Clipper.
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
