I want to automate two CAM nesting and cut applications by adding API funcionality and interact programmatically with them.
One of them (named as software A and programmed in VB.NET) expose methods and properties through COM interface, and I've made a windows form application consisting of an external and independent executable programmed in C# .NET that accomplish this task by interacting with software A. For example, it can make nesting of parts putting them in precise locations on sheet determined by the program. Of course software A and .NET exe
run in different processes and simultaneously and the last interact with the first, executing whatever instructions we implement in the executable and available in methods and props. of software A COM referenced DLL's.
The other CAM package however (named as software B), is programmed in C++ and does not expose methods and props through COM, making the goal more difficult.
I know that DLL's of software B export all functions and names and prototypes of these functions are all of them known. Software does not include API/SDK nor DLL load or plugin mechanism. That means AFAIK that the more appropiated method of interacting with software B would be by means of an external executable programmed in C#.NET or C++ that although run independently it would be able to import the classes ,objects and functions of software B DLL's in the same process and execute instructions programmatically to drive software B.
I have only a small knowledge on C++ and I don't really know if this is possible (perhaps someone knows page link on internet explaining details) Anyway it seems to me a matter of interest.
What I have tried:
I've made a windows form application consisting of an external and independent executable programmed in C# .NET that accomplish this task by interacting with software A. For example, it can make nesting of parts putting them in precise locations on sheet determined by the program