[Bug 8306] wine FrameShow.exe failed after good installation

Wine Bugs wine-bugs at winehq.org
Tue May 8 03:50:01 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=8306





------- Additional Comments From focht at 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

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list