Tony Roberts

Results 23 comments of Tony Roberts

You can get binaries from a different fork here https://github.com/exceljava/com4j. This fork includes some bug fixes not yet merged into this repo. See the readme for how to get the...

Great catch! The VARIANT struct is different sizes for 32 bit and 64 bit builds though, so I think the buffer sized used should be dependent on whether the process...

Here you go: https://docs.microsoft.com/en-gb/windows/desktop/api/oaidl/ns-oaidl-tagvariant There are two pointers in the inner struct in the union (pvRecord and pRecInfo) which I think account for the 8 bytes difference (4 bytes per...

"os.arch" is probably more portable to other JVMs than sun.arch.data.model (see https://docs.oracle.com/javase/6/docs/api/java/lang/System.html#getProperties()), but other than that looks good to me.

@DanHeidinga I'm not sure what the current state of this repo is to be honest. It doesn't seem to have much activity, and my PRs have not been merged or...

One nice side-effect of having the methods built up-front is that you get tab completion in ipython.

oh ok, yeah in that case I can't immediately think of any reason not to do it dynamically.

Maybe a subset of runtime.cs could be auto-generated by parsing Python.h, similar to how the interopXX.cs files are generated?

Personally I prefer the first approach. Adding an extra component to the import path seems a bit fiddly and if everything will always be added to the same domain I...

Looks like it should just be "multiprocessing.active_children".