id summary reporter owner description type status component version resolution keywords cc guest host 9527 'Shared Folders' returning incorrect file order to Win API solanum "I am using some proprietary software on Windows XP guest under Linux host. This software (Magpie from MEA in Australia) extracts certain data from certain binary files output from a datalogger and collates it in a database. When run in WinXP under VirtualBox with the data stored in a VirtualBox 'shared folder' mounted as a Windows network drive it loses data. When the data is stored within the VirtualBox 'disk' it works fine and it also works fine when the data is on a real Windows network share. I have spoken to the developer of the software and it turns out that it is using the Windows API calls 'FindFirstFile' and 'FindNextFile'. The virtualbox ""pseudo-network redirector"" driver in WinXP is not returning files in the same order as either windows or a windows network share (which it is pretending to be) does. This leads to the data problems within the software. See attached screenshot for file dialog box with incorrectly ordered files. When the data are stored on the windows virtual disk or on a windows share the files are in date order. Interestingly, when run under WINE the file order in this dialog is exactly the same as when run using Virtualbox and a 'shared folder'. I conclude from this that when the above API calls are run against a virtualbox 'shared folder' it is presenting the files as they are presented to it by my linux host, not in the order that windows would present them. Unfortunately, I am not a developer and have no idea how linux chooses to present it's files or anything further about these API calls..." defect new other VirtualBox 4.1.2 Windows Linux