I just tested file-commit and file region locking in XP Mode under Windows 7, and if failed miserably.
File-commit doesn't work at all. If you extend a file by writing at the end, and then do a file-commit, and then check the file length with find-first, you get the old (wrong) file length. In other words, file-commit doesn't do anything.
Additionally, region-locking doesn't work reliably. Sometimes it works, but sometimes attempting to lock a region which is already locked by another program results in a "general failure" error (31) instead of a proper "sharing error" (32).
You can get testlock here:
http://www.burtonsys.com/download/TESTLOCK.ZIPTo use it simply open two XP mode command-prompt windows (or one XP mode command-prompt window and one Windows 7 command-prompt window), and then in one of them do:
testlk32 d:\somefolder\ auto2
Then, when it prompts you to do so, do the same command in the other command-prompt window.
If you do this with two Windows 7 command prompts, all tests pass.
If you use an XP command-prompt window in XP Mode, with the shared folder on a Windows 7 drive (mapped to a drive letter via "net use") then test 6 (file commit) consistently fails, and tests 5&6-B and 7-B (shared modify access, file commit, and region locking, 2-session) fail intermittently.
Dave Burton
http://www.burtonsys.com/email/