The mass fractions of carbon dioxide and oxygen are 0.89243 and 0.10757, respectively.The pressure and entropy are 9.5 MPa and 260.49 kJ/kg, respectively.The figure below shows the query results from the software interface.
However, when using the DLL interface for the call, the results are shown in the figure below.

It can be seen that many thermophysical property results are incorrect; however, when the state point is far from the bubble point, that is, when the quality increases, the results obtained by the two calling methods become consistent.The figure below shows the function call for
𝑇(𝑝,ℎ). How can I avoid the inconsistency between the results obtained from the DLL call and those from the software interface?