> From: Phil Thompson [mailto:[EMAIL PROTECTED]] 
> 
> Bjorn Pettersen wrote:
> > 
> > I'm trying to wrap a library that calls into ADO. ADO being a COM 
> > thing, needs to have
> > 
> >   CoInitialize(NULL);
> > 
> > called before any other calls... Is there anywhere 
> convenient to put 
> > this code? (I couldn't find an example of this in PyQT).
> 
> Any code in a %PostInitialisationC++Code ... %End block will 
> be copied to the end of the function that implements the 
> module's sipRegisterClasses function.

Thanks. That works great.

-- bjorn

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to