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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

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

pklemm-2
6-Contributor

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)

 

 

ACCEPTED SOLUTION

Accepted Solutions

Hi,

 

please report the problem to PTC Support.


Martin Hanák

View solution in original post

6 REPLIES 6
LucMeekes
23-Emerald III
(To:pklemm-2)

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.

pklemm-2
6-Contributor
(To:LucMeekes)

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

pklemm-2
6-Contributor
(To:pklemm-2)

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!

 

LucMeekes
23-Emerald III
(To:pklemm-2)

Great that you found a work-around.

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

 

Luc

pklemm-2
6-Contributor
(To:LucMeekes)

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.

Hi,

 

please report the problem to PTC Support.


Martin Hanák
Announcements

Top Tags