> But for your task you should! For example it is absolutely not allowed to
> expose or change an existing interface. And the IDispatch-Interface is
> based on COM-technologie but part of the OLE2-technology.
>
> Maybe the books are a good point to start.
> Inside COM, �ISBN 1-572-31349-8
> Inside OLE, �ISBN 1-556-15843-2
>
> Markus
I don't want to extend an interface (so far I got it - I'm quite into CORBA),
but just implement a server for given interfaces, which inherit from
IDispatch. If I write an ordinary server, the application doesn't accept my
object - missing implementation of (all) interfaces. In VB (nor my subject,
sorry, I'm a linux guy), they do it by writing
Implements TheInterfaceName
...
Private Function TheInterfaceName_TheMethodName(message As String) As Boolean
...
Furthermore, I can find a line in the project file saying
Reference=*\G{12FB8542-7D64-11D2-A67D-00105A42887F}#0.9#0#TypeLibPath#TypeLibName
but that's all and it seems to work. All I need then is to tell python to do
the same thing: declare the interface somewhere, and specify the TLB-file,
where it came from.
I really hope, this is possible without that I have to read two American
books first (1552 pages)!!! But if it's like that, don't hesitate to tell me.
Anyway, many thanks so far!!
Volker Siepmann
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython