127 error

 

I created a dll by C#,when I import this dll to MT4,there is a 127 error .

this dll works fine if it used by vc.net program.

I found some ariticles about 127 error at this forum,but them only talked about _stdcall, The dll has _stdcall when developed by c++,but i don't know How to add _stdcall to program when i use C#.

Maybe there are some methods to build dll developed by c# and the dll can be imported into Mt4. but i don't know.

If someone know the method,pls tell me,thanks to you.

Reason: