@wuischke: same problem here with Vista. I have run the test.exe on the console (with the mingwm10.dll from the amule.zip), but it prints just a blank line.
The 2.2.0 test version fails equally, complaining about the permissions in the local config subdirectory, so this approach does not help at all.
What is happening on Vista:
aMule complains about too strict permissions on c:\users\myname\AppData\Roaming\aMule
This directory is flagged as "read only". Whyever. Removing the read only flag (in explorer or command line) fails, the flag is restored to read only at once. It seems Vista has a more complex permission system on NTFS drives. The read only attribute for folders appears to be
treated as a legacy. It is always active on all folders and can't be reset.
This applies even for FAT32 volumes.
Yeah, I know, that's stupid.
However, I can easily create, modify, delete files in this directory. aMule creates 18 files and a temp folder nicely on first run and only fails on second run checking the permission. So my guess is, if you simply remove the permission check everything should work.