See discussions 'Help with crashlog analysis...' and 'Problem with .dll I'm writing'
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.
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)
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
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
Try to request to https://www.mql5.com/ru/users/xnsnet .
He is NET-programmer. See 'Использование .NET, это возможно, задумайтесь над этим.'
He is NET-programmer. See 'Использование .NET, это возможно, задумайтесь над этим.'
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.
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.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Marty