Problem with Connect()

Hi all
i see strange behaviour for root head of yestoday:
when i do

 fCanvas->Connect("ProcessedEvent(Int_t,Int_t,Int_t,TObject*)","",0,"DoZoom(Int_t,Int_t,Int_t,TObject*)");

i get errors :
Error: Cint::G__CallFunc::SetArgArray() must be initialized with ‘Cint::G__CallFunc::SetFunc(G__ClassInfo* cls,char* fname,char* args,long*poffset)’ first

in compiled (ACLIC) and interpreted macro. But if i put

 fCanvas->Connect("ProcessedEvent(Int_t,Int_t,Int_t,TObject*)",0,"","DoZoom(Int_t,Int_t,Int_t,TObject*)");

(notice different order of “” and 0), the macro works as expected in
interpreted mode, but certanly fails during compilation.

Hi Kirill

When the slot string defines a global function name, both parameters specifying the class name and the receiver should be set to 0 (zero). This is explained in the GUI chapter of the User’s Guide (see page 396 at ftp://root.cern.ch/root/doc/chapter26.pdf )

Cheers, Ilka