cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Mathcad 4.0 crashes after sending input vars from a client application to Mathcad

SOLVED
Highlighted
Regular Member

Mathcad 4.0 crashes after sending input vars from a client application to Mathcad

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/4.0.0.54)

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Mathcad 4.0 crashes after sending input vars from a client application to Mathcad

Hi,

 

please report the problem to PTC Support.


Martin Hanák
6 REPLIES 6

Re: Mathcad 4.0 crashes after sending input vars from a client application to Mathcad

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.

Re: Mathcad 4.0 crashes after sending input vars from a client application to Mathcad

Hi,

 

please report the problem to PTC Support.


Martin Hanák

Re: Mathcad 4.0 crashes after sending input vars from a client application to Mathcad

I have tested it with M010 but the issue is the same.

Re: Mathcad 4.0 crashes after sending input vars from a client application to Mathcad

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.

Thanks all!

 

Re: Mathcad 4.0 crashes after sending input vars from a client application to Mathcad

Great that you found a work-around.

Important to know is: is the 'client application' 32 or 64-bit...?

 

Luc

Re: Mathcad 4.0 crashes after sending input vars from a client application to Mathcad

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.