SMath is not using the latest version of CoolProp on my PC

SMath is not using the latest version of CoolProp on my PC - Query: How to Update CoolProp for SMath - Messages

#1 Posted: 11/11/2025 12:50:49 PM
Gerard Lardner

Gerard Lardner

0 likes in 5 posts.

Group: User

SMath on my PC is showing version 6.4.1 but Excel shows the latest (nightly) version 7.1.1. Somehow, despite updating CoolProp to v7.1.0 and then to the nightly 7.1.1, SMath is still using an older version.

The files Coolprop_x32.dll and Coolprop_x64.dll in %USERPROFILE%\AppData\Roaming\SMath\extensions\plugins\ca92ef03-c7da-4888-98ad-528482733e2f\6.4.8214.13502 show the date and time when Coolprop was updated.

SMath is also the latest version, 1.3.0.9126, updated a few weeks/months ago.

- How can I make SMath use the latest installed version of CoolProp?
- Where does the SMath Coolprop Wrapper look for links to the current version of CoolProp?
- And maybe how can I find and safely remove the older versions of CoolProp?


Edited 11/11/2025 1:06:53 PM
#2 Posted: 11/13/2025 9:05:05 AM
Davide Carpi

Davide Carpi

1,434 likes in 2,911 posts.

Group: Moderator

Hi,

the Coolprop_x##.dll libraries are by default the ones provided within the SMath "Extensions Manager" CoolpropWrapper plugin (there is a GitHub version too, but I think it is several iterations behind).

You can try to replace them manually following the instructions here (point 4 of README.md) but it is not guaranteed that the plugin will still works as intended or at all, since the Wrapper wasn't developed nor tested for the new libraries.

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 11/13/2025 10:34:36 AM
Gerard Lardner

Gerard Lardner

0 likes in 5 posts.

Group: User

Ah, OK. I hadn't understood that. I was simply confused that Excel showed a newer version of CoolProp than SMath (and Maple Flow has another version).

Thank you for the instructions for manually updating CoolProp in SMath. I may not try it, since you say the wrapper is tied to the library version, and the current version of CoolProp is a major version number step from the version in the wrapper.
Edited 11/13/2025 10:35:20 AM
#4 Posted: 11/13/2025 12:08:17 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1,526 likes in 1,836 posts.

Group: Moderator

You can try Mathcad Custom Functions plugin

image.png

image.png

Links:

1. https://sourceforge.net/projects/coolprop/files/CoolProp/nightly/MathcadPrime/
2. https://www.smath.com/ru-RU/forum/topic/DaKGEh/Mathcad-Custom-Functions

Userefi path: %appdata%\SMath\extensions\plugins\91a20d24-c30b-4774-9b1b-4d502a80420f\1.1.8035.3236\userefi

You must copy CoolPropMathcadWrapper.dll there.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 Posted: 11/14/2025 12:12:58 AM
Gerard Lardner

Gerard Lardner

0 likes in 5 posts.

Group: User

I think I am awfully stupid, but that's not working for me. I downloaded CoolPropMathcadWrapper.dll from the link above and copied it to the userefi folder as indicated. But SMath does not see it; the functions beginning get_fluid_param_string() are not working.

If I use CoolProp_get_fluid_param_string("version"), I still see v6.4.1, but I guess that's using CoolPropWrapper, not CoolPropMathcadWrapper. (As I noted before, Excel returns v7.2.1 for the Coolprop version)

Can you suggest where I might be going wrong?
  • New Posts
  • No New Posts