Hello for everyone. I try to use coolprop with lazarus, but my programs dont work, I have error 000007b on application start. I have similar issues with delphi/lazarus examples officially published on the coolprop site.
For example this dont work:
COOL_PROP = 'CoolProp.dll';
function PropsSI(Output: PAnsichar; Name1: PAnsichar; Prop1: Double; Name2: PAnsichar; Prop2: Double; FluidName: PAnsichar): Double; stdcall; external COOL_PROP name '_PropsSI@32';
h:=PropsSI('H', 'T', 300, 'P', 101325, 'R134a');
What I am doing wrong, maybe working examples exist anywhere?