[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Overwriting old exe_modref
From:       Ulrich Weigand <weigand () informatik ! uni-erlangen ! de>
Date:       1999-09-30 21:52:25
[Download RAW message or body]


> 'C:\WIN9X\SYSTEM\sigres.exe'
> fixme:win32:PE_CreateModule overwriting old exe_modref... arrgh

Strange.  Just for curiosity, does it work with this patch:

--- wine-cvs/loader/pe_image.c	Wed Aug  4 22:20:03 1999
+++ wine-uw/loader/pe_image.c	Thu Sep 30 23:55:16 1999
@@ -821,8 +821,9 @@
     if ( !(nt->FileHeader.Characteristics & IMAGE_FILE_DLL) )
     {
         if ( PROCESS_Current()->exe_modref )
-            FIXME_(win32)("overwriting old exe_modref... arrgh\n" );
-        PROCESS_Current()->exe_modref = wm;
+            ERR_(win32)("trying to load two executable modules?\n" );
+        else
+            PROCESS_Current()->exe_modref = wm;
     }
 
     LeaveCriticalSection( &PROCESS_Current()->crit_section );

Bye,
Ulrich

-- 
  Ulrich Weigand,
  IMMD 1, Universitaet Erlangen-Nuernberg,
  Martensstr. 3, D-91058 Erlangen, Phone: +49 9131 85-7688


=========================================================================

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic