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

List:       wine-devel
Subject:    datacache bug
From:       giorgian <giorgian () icube ! it>
Date:       2001-10-24 12:36:42
[Download RAW message or body]

hi all,

as i wrote few days ago, there's a problem with the DataCache_GetAdvise
function in dlls/ole32/datacache.c:
the call

(this->sinkInterface)->lpVtbl->QueryInterface(this->sinkInterface,  
                                                                        
        &IID_IAdviseSink,  
                                                                        
        (void**)ppAdvSink);

crashes since this->sinkInterface is NULL.

executing the program with the --debugmsg +relay option i've seen
that there are no calls to DataCache_SetAdvise before this call, the
sinkInferface field is not initialized.

but the program works well under M$window$.

looking here and there in the source, i tried to replace this call with

this->lpvtbl2->QueryInterface(this->lpvtbl2,  
                                                     &IID_IAdviseSink,  
                                                     (void**)ppAdvSink);


i don't know why, but it works.

ok, what should i do now to let the world know this?

thanks
--
Pietro Giorgianni, Icube s.r.l. (via Ridolfi, 15 - Pisa (Italy))
giorgian@icube.it

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

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