We have created some windows programs to control input-Vars in prime 3.1 worksheets. This worked fine for Version 3.1 but not in 4.0: Mathcad prime crashes after sending some input vars. The error message refers to a corrupt heap. The automation dll of version 4 was referenced.
To verify the issue between Mathcad 3.1 and 4.0 I have created a worksheet in Mathcad 3 and imported that to Mathcad 4. I have also created two client-applications, one referencing automation dll of version 3 and the other to version 4. The line ClientApp3+Mathcad3 worked fine and ClientApp4+Mathcad4 crashed. The worksheets had identical content.
Is there a bugfix available?
Mathcad Prime 4.0 Version: F000 (2017.02.26.001/18.104.22.168)
Solved! Go to Solution.
There is a Prime 4.0 M010 (https://community.ptc.com/t5/PTC-Mathcad-Blog/Announcing-PTC-Mathcad-Prime-4-0-M010/ba-p/475243 ), but I doubt it will solve this problem.
Its solved on my computer after installing the 32 bit version of Mathcad prime 4 instead of the 64 bit version.
The reason of that issue in 64 bit is unknown.
Great that you found a work-around.
Important to know is: is the 'client application' 32 or 64-bit...?
Yes, this was also in view with interesting results:
I have tested both.
- The client application as 64 bit application with Mathcad 64 bit crashed.
- The client application as 32 bit application with Mathcad 64 bit crashed.
- The client application as 64 bit application with Mathcad 32 worked
- The client application as 32 bit application with Mathcad 32 worked
I have linked always the interface Ptc.MathcadPrime.Automation.dll from the Mathcad 4.0 installation folder. But the interesting was, that 64 bit link also worked on 32 bit client.
But this only happend on my computer. Tests on another PC worked always.