Fix dplayx initialisation

Sylvain Petreolle spetreolle at yahoo.fr
Sun Jan 18 03:04:26 CST 2004


Trying to load dplayx returns error 487 (ERROR_INVALID_ADDRESS) for
now.

The following change lets wine determine a memory space by itself.

Index: dplayx_global.c
===================================================================
RCS file: /home/wine/wine/dlls/dplayx/dplayx_global.c,v
retrieving revision 1.23
diff -u -r1.23 dplayx_global.c
--- dplayx_global.c     29 Sep 2003 20:12:05 -0000      1.23
+++ dplayx_global.c     18 Jan 2004 08:44:25 -0000
@@ -218,7 +218,7 @@
 {
   SECURITY_ATTRIBUTES s_attrib;
   BOOL                bInitializeSharedMemory = FALSE;
-  LPVOID              lpDesiredMemoryMapStart = (LPVOID)0x50000000;
+  LPVOID              lpDesiredMemoryMapStart = (LPVOID) NULL;
   HANDLE              hInformOnStart;
  
   TRACE( "DPLAYX dll loaded - construct called\n" );


=====
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

"You believe it's the year 1984, when in fact, its closer to 2184"1984 / Matrix

_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the wine-patches mailing list