Search code examples
.netexcelintersystems-cachemumpsvba

Calling an M tag from .NET using Cache'


I'm trying to find a way to call a MUMPS tag ideally from VBA, but alternatively from .NET. I know that you can do "sql" commands using Intersystems' provided APIs, but how can I just do something like d ^MYROUTINE?


Solution

  • It is not possible to call a routine directly from Bindings.

    The most natural way to do this would be to make a class wrapper - AKA a class that has a ClassMethod that calls ^MYROUTINE. Then, generate .NET Proxy Classes and call the ClassMethod from .NET.

    If you are doing new development, use .NET if all possible - it will have the best support on all fronts moving forward.