Skip to main content
1-Visitor
December 2, 2016
Question

Mathcad14 / Windows10 and DLLs

  • December 2, 2016
  • 2 replies
  • 7732 views

Hi all, I've installed Mathcad14 on Windows10. Mathcad seems to run fine but I cannot run DLLs any more(not even the example DLLs in the userfi executable folders). Anyone has any expertise nice with running and compiling Mathcad14 DLLs in a Windows10 environment.

I've also tried to complile some DLLs the same way that did in a WindowsXP (using studio 2010 express) environment but I was not successful (compliles ok but Mathcad cannot access/read the DLL).

Any help is appreciate. Geo

2 replies

24-Ruby III
December 2, 2016

Hi,

Is there any chance for you to update your version up to Mathcad 15 M045?

http://www.ptc.com/product/mathcad/free-trial

http://www.ptc.com/product/mathcad/free-trial/thank-you

ga-21-VisitorAuthor
1-Visitor
December 2, 2016

Hi Valdimir, will migration to Mathcad15 help with the DLL problem?

In general I'm hesitant upgrade, I tend to like the older versions of Mathcad more (all the way back to M7). Do you think this is a M14 limitation with Windows10?

Thanks

1-Visitor
December 2, 2016

Not sure my experience is typical, but after the Windows 10 anniversary update MathCad 14 would no longer run, so I upgraded.

23-Emerald IV
December 3, 2016

I'm running Mathcad 11 on Windows 10, and it finds and uses my DLL's without problems; I should expect no problems for Mathcad 14 either therefor. I must admit that I did not compile any DLL's recently.

What is your windows type (32 or 64 bit), what do/did you use to compile the DLL's (Studio or Studio express), and where did you put the DLL's?

- Note that Mathcad 14 is a 32-bit application that should be installed in a branch of the "Program Files (x86)" directory if you have a 64-bit Windows. With 32-bit Windows, Mathcad should be installed in "Program Files".

- The DLL's should be compiled as 32-bit versions. Studio express is limited to 32-bits, but with Studio (not express) you could compile them as 64-bits and make then useless for Mathcad.

- The DLL's must be in the ..\/Mathcad\UserEFI  directory, when Mathcad is installed in ...\Mathcad.

Hope this helps.

Luc

ga-21-VisitorAuthor
1-Visitor
December 3, 2016

Hi Luc,

M14 is installed on Wondows10 (64-bit) in the "Program Files (x86)" directory.


The DLLs were compiled using Studio express 2010 and were copied to the userefi directory.


Studio express 2010 was also installed in the "Program Files (x86)" directory, so it's probably 32-bits.


I cannot even access the default DIGAMMA() & KRONECKR() DLLs in the userefi directory (I get the "This variable is undefined" error). I've tried M14 and a trial M15/M045. I get the same error in both cases.


I guess I'll probably have to solve the default DLL access problems before I start worrying about compiling and accessing my own DLLs.


Thanks, Geo


23-Emerald IV
December 5, 2016

This is how it looks for me in Mathcad 11 under windows 10 (32 bit):

If the first two lines don't work for you, check the rights you have in the UserEFI directory. It should not matter, but it just might be that you need to be an administrator to access the dll's. That would be a weird and undesirable situation, but it's not unthinkable.

Success!
Luc