http://bugs.winehq.org/show_bug.cgi?id=4806
------- Additional Comments From xerox_xerox2000@yahoo.co.uk 2006-12-03 13:56 ------- Last remark: the bug seems to be in this line in /dlls/ntdll/virtual.c:
if (header_size > st.st_size) goto error;
I've put a few extra traces there and saw header_size=4096 and st.st_size=3584. I'm not familiar with the code , but i guess st.st_size is the size of the file (CpuDetect.dll has exactly this size) and header_size is the size of the header. Does that give a hint to a solution? (removing the line makes the app start fine, but that's not a solution i guess)