On Sep 22, 2008, at 4:20 AM, Etienne Rivard wrote:
Ok, small correction. In version 8, there is an example of using the
refprop dll in a C++ program. I think I might experience with
integrating this in a Python extension.
We look forward to hearing what you figure out. We don't have a great
deal of experience linking Python to C et al., but a little. We'll
help where we can.
Etienne Rivard wrote:
Hello again,
I'd like to use a dynamic link library (dll) in a problem I'll
solve with FiPy. And not just any DLL. Our chair of research has a
license for the excellent REFPROP software by you-know-who.
I'm aware of the existence of the ctypes package, and I even read
the tutorial. But quite frankly, I didn't understand much. I think
there are much prerequisites I'm lacking.
The other solution would be a python extension written in C. But
I'm not proficient in C and there is no example of using REFPROP in
a C program in the documentation.
Perhaps this is a very simple problem for one of you? Or would it
be better to ask your colleague Mr. Lemmon?
Many thanks,