.NET uses RCW to cache calls into COM. I once used pythonnet to call into
COM from Python using .NET COM interop. But this is not ready for general
use due to the amount of boilerplate code necessary to make the calls. See
this issue for more details.
https://github.com/pythonnet/pythonnet/issues/
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 don't cache
> > responses I have never
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 don't cache
> responses I have never seen that happen anyway.
That's not what I said. There are two parts to a late-dispatch COM
call: find
Tim,
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 don't cache
responses I have never seen that happen anyway. As well I'm running on an
i7 3.2ghz machine so my results could be faster than most.
However the quest
I would be curious to see your c# code, I support Tim on unrealistic timing.
This kind of questions are good for Stackoverflow.
On Thu, Feb 16, 2017, 6:50 PM Tim Roberts wrote:
> Stephen Chapman wrote:
> > So after much research on the library . It certainly looks like the
> > invoke method is
Stephen Chapman wrote:
> 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
> mailto:schapman1...@gmail.com>> wrote:
>
> Hello,
>
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 have a
> m
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