http://bugs.winehq.org/show_bug.cgi?id=8306
------- Additional Comments From focht@gmx.net 2007-08-05 03:50 ------- Hello,
yeah my PE editor picked up the placeholder not the kernel32.dll.so :|
I verified with windows kernel32.dll exports directory entry finally found the cause. Windows kernel32.dll export directory module name is UPPERCASE:
--- snip --- KERNEL32.dll ActivateActCtx AddAtomA AddAtomW AddConsoleAliasA AddConsoleAliasW AddLocalAlternateComputerNameA AddLocalAlternateComputer ... --- snip ---
Where wine is lowercase.
The protector compares with the uppercase version. I patched my kernel32.dll.so entry to uppercase. Voila the application starts now with splash screen (though it crashes later due to other wine issues, not related to protections)
You have to modify the build scripts to generate uppercase module name entry, or this kind of protections wont work. This currently only applies to kernel32.dll module.
Regards