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

List:       wine-patches
Subject:    Fix dplayx initialisation
From:       Sylvain Petreolle <spetreolle () yahoo ! fr>
Date:       2004-01-18 9:04:26
Message-ID: 20040118090426.44996.qmail () web10101 ! mail ! yahoo ! com
[Download RAW message or body]

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

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

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