can we pass a two-dimension array to dll ?

 
#import "sampledll.dll" //expert
void test(double x[][]);

double a[10][10];

for(int =0;i<10;i++)
   for(int k=0;k<10;k++)
     a[i][k] = i*k;


test(a);



MT4_EXPFUNC void __stdcall test(double** a) //dll
{
   
  char   s[100];   
  sprintf(s,   "%f", a[0][0] ); 

MessageBox(NULL,s,"INFO",MB_OK); 
}

but everytime it crashes, i can't find the err.

does dll suport pass two-dimension array or somethingwrong with my code ?

thank you.

Reason: