I have an application which creates a local directory. Later on, elsewhere in the code this path is checked by using GetFileAttributes and checking that the FILE_ATTRIBUTE_DIRECTORY flag was present.
This works fine on my PC but when I run the same code on a virtual machine using VirtualBox it fails. It's the same OS (Windows XP Professional 32-bit) and same setup. But this time it says the flag is not present.
This is a bit of an odd one but does anyone have any ideas what might be causing this?