[Twisted-Python] Is it possible to build a .dll for other win32 program/language to invoke?

Bob Ippolito bob at redivi.com
Thu Jul 14 23:04:26 EDT 2005


On Jul 14, 2005, at 4:37 PM, Eric Hsu wrote:

> This question may not be suitable to ask here, but please help me if
> you can, thanks!
>
> I have written a server with twisted. The server contains some classes
> which are responsible for handling protocol related stuffs (e.g.
> packing/unpacking messages).
>
> We've already has an app which was written in delphi, we want to
> extend it to be able to communicate with this server.
>
> Here comes the question: is it possible to build the protocol related
> classes from the server to be some kind of .dll, so that the app could
> invoke them, reuse them to handle the protocol related stuffs?
>
> Any infomation would be warmly welcome, thanks in advance!

The best way to do this is probably "server-side" COM.  See win32all  
and ctypes, doesn't really have much of anything to do with Twisted  
at that point.

-bob





More information about the Twisted-Python mailing list