Skip to main content
1-Visitor
August 26, 2022
Solved

Integration old version MathCAD v5 to .NET C#

  • August 26, 2022
  • 1 reply
  • 3520 views

I need to integrate MathCAD v5 (1994) to my project. How can I do it? Do you know some good libraries or you know how use P/Invoke in this case?

Best answer by terryhendicott

C# and .NET were not in existence in 1994. Mathcad v5 (1994) used Dynamic Data Exchange (DDE).  

 

The OLE automation interface is supported in Mathcad 7.02 and higher and supersedes the DDE
interface supported in Mathcad 5 and 6. For information on the interface, see the Developer’s
Reference under the Help menu in Mathcad.

 

The C# programming language was designed by Anders Hejlsberg from Microsoft in 2000 and was later approved as an international standard by Ecma (ECMA-334) in 2002 and ISO/IEC (ISO/IEC 23270) in 2003. Microsoft introduced C# along with . NET Framework and Visual Studio, both of which were closed-source.

 

In computing, Dynamic Data Exchange (DDE) is a technology for interprocess communication used in early versions of Microsoft Windows and OS/2. DDE allows programs to manipulate objects provided by other programs, and respond to user actions affecting those objects. DDE was partially superseded by Object Linking and Embedding (OLE), and is currently maintained in Windows systems only for the sake of backward compatibility.

1 reply

21-Topaz II
August 27, 2022

C# and .NET were not in existence in 1994. Mathcad v5 (1994) used Dynamic Data Exchange (DDE).  

 

The OLE automation interface is supported in Mathcad 7.02 and higher and supersedes the DDE
interface supported in Mathcad 5 and 6. For information on the interface, see the Developer’s
Reference under the Help menu in Mathcad.

 

The C# programming language was designed by Anders Hejlsberg from Microsoft in 2000 and was later approved as an international standard by Ecma (ECMA-334) in 2002 and ISO/IEC (ISO/IEC 23270) in 2003. Microsoft introduced C# along with . NET Framework and Visual Studio, both of which were closed-source.

 

In computing, Dynamic Data Exchange (DDE) is a technology for interprocess communication used in early versions of Microsoft Windows and OS/2. DDE allows programs to manipulate objects provided by other programs, and respond to user actions affecting those objects. DDE was partially superseded by Object Linking and Embedding (OLE), and is currently maintained in Windows systems only for the sake of backward compatibility.

21-Topaz II
August 28, 2022

Hi I have found a library that facilitates DDE in .NET

 

https://www.taltech.com/support/entry/using_dde_in_dotnet

 

The Visual Studio.NET application development platform does not support Dynamic Data Exchange (DDE) directly. There also appears to be no plans to incorporate DDE support into the .NET languages.

 

The best solution that we have found so far is an open source class library called NDde. The NDde class library is an extremely well designed Dynamic Data Exchange class library complete with sample code that shows how to use it as well as complete and well written user documentation.

Cheers

 

21-Topaz II
August 28, 2022

Hi The class library NDde has moved.

https://github.com/specshell/specshell.software.ndde