[python-win32] Python win32Com Server DLL

2017-02-07 Thread Stephen Chapman
Hello, I am having a speed issue while running dll functions. I have a minimal com server example and a minimal com client example below. I have added cProfile to the example. All source files and the profile are attached. So when I run this example I get between 1.4 seconds to 1.7 second

Re: [python-win32] Python win32Com Server DLL

2017-02-16 Thread Stephen Chapman
So after much research on the library . It certainly looks like the invoke method is taking all the time. Is this because of the conversion from Variant??? On Tue, Feb 7, 2017 at 11:09 AM, Stephen Chapman wrote: > Hello, >I am having a speed issue while running dll functions. I

Re: [python-win32] Python win32Com Server DLL

2017-02-16 Thread Stephen Chapman
self.atest1=0 self.atest2=0 def method1(self,*args): self.atest1+=1 return self.atest1 def method2(self,*args): self.atest2+=1 return self.atest2 if __name__=='__main__': if len(sys.argv)>1: register.UnregisterServer(data

Re: [python-win32] Python win32Com Server DLL

2017-02-19 Thread Stephen Chapman
I thought that might be the answer. Thank you On Feb 17, 2017 4:53 PM, "Tim Roberts" wrote: > Stephen Chapman wrote: > > > >Since it was a simple example I was only passing a single int for a > > parameter and returning 0. As far as I know COM servers d