.NET DLL calls from mq4. Is it possible? Any sample?

 
Does anyone know if it is possible to call a managed dll file developed in say c# from mq4 code. I have seen examples on how to call functions from mq4 to that live inside of unmanged code developed in C++ dll files. Anyway, any examples of how to go about doing this would be great using mq4 and visual studio 2005.

Marty
 
Stringo,
Thanks for your references to the relevant threads, however, I am not a C++ developer and would like an explained sample on how the wrapper class is developed to make methods availble to MT4 from my C# dll? Is it possible to use Visual Studio 2005 to create the C++ wrapper class even though it is managed code? A complete working sample as simple as just a single method that returns Hello World would be greatly appreciated, so I understand the framework. Thank in you in advance Stringo.
 

In any case You must provide _stdcall calling convention (this convention used in the WinAPI). Sorry, I am not C# programmer

 
Thanks Stringo. I am am lost as to what to do next, if there is anyone who has found a complete example on how to call .NET methods from mq4 code that would be very much appreciated. Thanks
 
Can not Call .NET methods from mq4 code, since now MQL only use native dll not managed dll.
you must use C to wrap your managed code ( more good is use C directly)
 
DxdCn,
Do you have easy to understand examples on writing C++ wrapper for the C# managed code. I assume one may write these C++ wrapper classes in Visual Studio 2005 or am I wrong?

Thanks
 
How do I get in contact with Michael A Ivanov? I am not able to read his user profile. Sorry
 
You can write on his forum http://community.xnsnet.ru/files/default.aspx or into https://forum.mql4.com/ru/6267
 
Rosh,
Do you know if he understands english cause I have troubles reading or writing in Russian? And I find it hard to understand the forum. Thanks.