Luc
You are correct, nice catch . Our QA/Engineering team suggests replacing the call to "new"
char
* c = MathcadAllocate(s.size()+1); // creat a c-string (pointer) c with the same size as s
In your
GetCoolPropsParamMathcad Function
This will protect your code across DLL boundaries.
John