Matrix as argument for function in DLL

Dear colleagues,

Based on the post Matrix as argument for user-defined function, I am trying to pass a matrix into DLL as an argument. According to the documentation for the AmiBroker Development Kit only array, string, float can be passed as arguments.

Initially, I tried to use the following desigion: in Amibroker convert matrix into string and pass string to DLL:
MxToString (myMatrix)

How then convert reverse a string to a matrix in C ++?

Or maybe there is another way to pass matrix into DLL?

Thanks
Alexander

AmiBroker Development Kit was released way before matrices were available in AmiBroker therefore does not cover this functionality. And quite frankly I am not keen to cover that because of: 5 reasons why you should NOT write DLLs

Thank you Tomasz,

your arguments are quite understandable