I have a .dll which exports a C++ class. Is there some way to use ⎕NA to import this class into Dyalog APL?
I am looking at the DLL Export Viewer, and my class is exporting the way I expect. I have also written a C++ test application which imports the .dll and uses the class, and it functions the way I expect.
// built with default Visual Studio 2019 settings
class __declspec(dllexport) MyClass
{
public:
void Func();
}
I need an example ⎕NA statement illustrating C++ classes imported into Dyalog APL from a .dll. Something like this:
'MyClass' ⎕NA 'what expression goes here'
mc←⎕NEW MyClass ⍝ or something similar