Need a minimal working C++ Custom Function project for Mathcad Prime (Visual Studio)
Hello,
I am new to developing custom functions for Mathcad Prime.
I already managed to create a working custom function in C, but I still cannot understand how to do the same in C++.
To be honest, I do not understand the internal structure of Visual Studio C++ projects yet. I am learning step by step and using AI to help me understand the code and project structure.
My goal is to move large engineering calculations from Mathcad into C++ DLL libraries. I hope to use AI to help convert my Mathcad algorithms into C++, but first I need to understand how a working C++ custom function project is organized.
At the moment I cannot even create a very simple function like:
int add(int a, int b)
{
return a + b;
}
I am not asking anyone to write my project for me.
I would simply like to have a minimal Visual Studio C++ project that builds into a DLL and is recognized by Mathcad Prime. Even a project containing only one simple function would be enough.
Once I have one working example, I believe I will be able to study it and continue developing my own functions with the help of AI.
If there is an official Visual Studio C++ sample project from PTC or a community example, I would be very grateful for a link.
Thank you very much for your time.

