http://bugs.winehq.org/show_bug.cgi?id=30432
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #9 from Sebastian Lackner sebastian@fds-team.de --- Created attachment 48791 --> http://bugs.winehq.org/attachment.cgi?id=48791 kernel32: Update VirtualAddress of resource section in write_raw_resources.
I'm wondering that noone else looked at this issue yet - if I don't miss anything the virtual address should be relatively easy to fix. I've attached a patch that lets the test succeed with "Found manifest". Please report back if it solves the issue (and doesn't break anything else), if yes I'll send it to wine-patches.
The checksum is a bit more difficult to fix, because either kernel32 would have to import imagehlp (which is most likely not allowd) or we have to duplicate code. This file already seems to contain a function to calculate the checksum: http://source.winehq.org/source/dlls/imagehlp/modify.c#L88