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

List:       wine-devel
Subject:    Re: SIGSEGV in IDirectDrawImpl_EnumDisplayModes
From:       Lionel Ulmer <lionel.ulmer () free ! fr>
Date:       2002-10-31 18:41:18
[Download RAW message or body]

> Sorry, that was the method I posted, I happened to paste the wrong function 
> name; this is the entire function with line 852 marked:

Care to give me the actual data type of 'mp_directDraw' ? It seems that as
you supposed, it does not use the correct function pointer when you use
'mp_directDraw->CreateSurface' and call instead 'EnumDisplayModes' thus, of
course, leading to a crash as the callback function is not filled in
properly.

The only thing I find strange is that you call CreateSurface with the 3rd
argument being NULL and we should see that in the trace for
'EnumDisplayModes'...

                 Lionel

-- 
		 Lionel Ulmer - http://www.bbrox.org/

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

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