En Wed, 14 Mar 2007 21:17:12 -0300, Larry Bates <[EMAIL PROTECTED]>  
escribió:

> I have a rather large Python class that I've converted to
> a COM object.  I can dispatch (using either Python or VB)
> and call the methods perfectly.  Now a new client wants
> to call it from Delphi.  Can anyone out there give me
> any pointers on how that would be done.  Are there any
> "gotchas" about the way arguments or return values
> would need to be different for Delphi.  I have NO Delphi
> experience so I'm completely lost.

The same as he would do for any other COM object. There are tools in  
Delphi for building automatically the needed Delphi declarations  
(interfases, classes, methods, constants... similar to what makepy does  
for Python).
All OLE types work fine. (Variants are a bit hard to process, yes, but it  
can be done)

> Secondly, I need a callback function in VB (progress
> meter) that I can pass to Python COM object to show

Sorry, I try to stay away of VB as far as possible :)

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to