https://bugs.winehq.org/show_bug.cgi?id=44954 --- Comment #13 from Matthew <matthew(a)digivation.net> --- OK - I grabbed a fresh copy of wine from git (HEAD), applied the wine-staging patches to it (HEAD as well), then applied your patch; the code was already present, but I reapplied the patch. Verified dlls/ndtll/loader.c contained the is_resource() function. Then ./configure --enable-win64; make -j9 Unfortunately, running ./wine64 <path to my exe> still results in a failure...(In reply to Alistair Leslie-Hughes from comment #11)
Hi Matthew
If you apply the staging patches, but change the function is_resource_dll to return !info.TransferAddress;
Does that fix the issue?
That did indeed resolve the issue - now the DLLs load and the executable continues. static BOOL is_resource_dll( HANDLE hfile ) { SECTION_IMAGE_INFORMATION info; SIZE_T ret; if(NtQuerySection(hfile, SectionImageInformation, &info, sizeof(info), &ret) == STATUS_SUCCESS) return !info.ImageContainsCode; return !info.ImageContainsCode; } -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.