On 9/10/2009 3:03:15 AM, Frummeltje wrote:
>Thanks Tom that is the clear
>answer I need.
>Next step is to find a
>collegua who is into writing
>wrapper DLL because for me
>that is one step too far. As
>non IT-specialist the
>Developer Instruction scared
>me off a little bit. But maybe
>I should go through it step by
>step.
>
>@jmg
>The DLL contains functions to
>calculate gasproperties
>through chosen Equations of
>State like BWRS, LKP and RKS.
>From now Excel you give an
>array of the composition of
>the gas with temperature and
>pressure and you recieve back
>proerties like Cp,k,z, h, s
>etc.
>Rewriting and validating these
>routines from handbooks as you
>implied will take considerable
>efforts and is therefore not
>prefered.
>
>
>Thanks for the reponses from
>you all.
>
>
>frummeltje
They are not toooo hard to write. If you already have existing working code then that is a great help.
I am currently writing a dll for wavelets and finite impulse response stuff, so you may see a few posts.
The manual to look for is 'hidden' under help as "Developers reference". It includes a section on wrapping FORTRAN code as well.
As a first step, just use Tom's method for embedding your existing excel. There are simple routines for stuffing the values into excel from mathcad, and getting the values back, depending on how you want to do things.
Philip Oakley