Re: [python-win32] Python COM Server and VB6 Integration

2009-07-19 Thread Michel Claveau
Hi! TLB is static, fixed, congealed. Python ('s COM servers) is dynamic. With it, you can create (add) new functions/methods, after opening ; during use. (for info, I use Python-dynamic-COM-servers every day that God (and M. Hammond) made). TLB cannot follow, nor be adapted in the air. With

Re: [python-win32] Python COM Server and VB6 Integration

2009-07-19 Thread J.D. Main
Thanks guys. I guess my next obvious question is: What would it take to create a python COM server with a Type Library such that VB6 or VS2003 would be happy with it? If I register my simple COM server, run makepy and select: "Microsoft Sisual Studio .NET VB and C# Project Model" Will that

Re: [python-win32] Python COM Server and VB6 Integration

2009-07-19 Thread Mark Hammond
On 19/07/2009 1:59 AM, J.D. Main wrote: So my question is this: is there some special interface vodoo that needs to be put in my code or my py2exe setup in order to get this COM server truly visible and accessible within VB6 or Visual Studio? I would love to hear about any experience you may ha

Re: [python-win32] Python COM Server and VB6 Integration

2009-07-18 Thread Michel Claveau
Hi! By default, dotNET (& Visual-Studio) need COM servers with TLB. But Python's COM servers no have TLB. For a solution from dotNET, search the expression "Late Binding" @-salutations -- Michel Claveau ___ python-win32 mailing list python-win32@

[python-win32] Python COM Server and VB6 Integration

2009-07-18 Thread J.D. Main
Hi Folks, Hopefully this is the place to ask this question. I have written a COM server with a few trivial string methods to test the integration of Python and VB6 (and Visual Studio). I have "compiled" it with py2exe and created a DLL that can actually register with Windows. Nice. I have su