Re: [python-win32] Registering a Server COM to make it visibleinthereference list

2007-04-29 Thread Mark Hammond
> Because dynamic COM server is a very interesting feature, I > think than a > external (optional) tool for generate TLB is better than the > auto-create way. Yeah - it would only be done when explicitly enabled, but the generation of the typelib itself should be as automatic as possible. If a de

[python-win32] Impersonating an Admin User using a standard User

2007-04-29 Thread Amit Arora
Hi Members, I am trying to use the Admin Privilidges of a user , by logging into the system using a standard user.. Am using the following code for impersonation . Also aware of CreateProcessAsUser , guess I am not able to figure out the correct way to handle the admin user to do some

Re: [python-win32] Registering a Server COM to make it visible inthereference list

2007-04-29 Thread Michel Claveau
Hi! > For many years, there has been interest in upgrading win32com > to auto-create a typelib - let me know if you are interested in > helping with that... Because dynamic COM server is a very interesting feature, I think than a external (optional) tool for generate TLB is better than the auto-

Re: [python-win32] Registering a Server COM to make it visible in thereference list

2007-04-29 Thread Mark Hammond
> > I have made a COM server using python and > registered it using > win32com.server.register.UseCommandLine(TrackingClient). > That all works > fine and I can instantiate it using late binding, however I > now need to > reference that in C# or VBA in excel. The problem I have is > that

Re: [python-win32] VT_UI1 ByRef behavior

2007-04-29 Thread Mark Hammond
> I was curious is there a way to prevent an array of VT_UI1's from being > converted to a buffer? Or perhaps a way to modify the file generated > from "makepy" to prevent the conversion? Nope, no such facility exists. Feel free to propose a patch though. Cheers, Mark ___