Download MetaTrader 5

import c# dll

To add comments, please log in or register
c0d3
776
c0d3  

has anyone successfully imported a dll written in c#: visual studio 2005, visual studio 2008. visual studio 2010?

I can't seem to use the functions of the DLL written in c# VS2010?

Any suggestions??????

I searched the forum, and haven't found a solution.

Thanks

JC
1500
JC  
c0d3:

[...] I searched the forum, and haven't found a solution.

See https://www.mql5.com/en/forum/128634. There are quite a few other topics on the same subject, but this one includes a link to a step-by-step tutorial at http://www.codeguru.com/csharp/.net/cpp_managed/windowsservices/article.php/c14735/
c0d3
776
c0d3  
jjc:
See https://www.mql5.com/en/forum/128634. There are quite a few other topics on the same subject, but this one includes a link to a step-by-step tutorial at http://www.codeguru.com/csharp/.net/cpp_managed/windowsservices/article.php/c14735/

Hey thanks, i found a similar method on the internet where you create dll with C++ and call C# dll functions, and after completing the steps, it works like a charm.


Thanks for the reply!!!

metafx
20
metafx  
c0d3:

Hey thanks, i found a similar method on the internet where you create dll with C++ and call C# dll functions, and after completing the steps, it works like a charm.


Thanks for the reply!!!

Is there a chance that you share your dll and tell what the use of your dll is?

If I write a dll with C++, is it usable in very software with Meta (e.g. Buru)?

c0d3
776
c0d3  
metafx:

Is there a chance that you share your dll and tell what the use of your dll is?

If I write a dll with C++, is it usable in very software with Meta (e.g. Buru)?

I can't share the DLL, it's developed for a prop trading firm. I can tell you what it does: the DLL works with a popular wall st trading platform via it's API to send orders to the equity market
Automated-Trading
Admin
104180
Automated-Trading  

By the way, there is an article Exposing C# code to MQL5 using unmanaged exports with desciption of pitfalls and some tricks in using of C# DLLs in MetaTrader.

See also How to Exchange Data: A DLL for MQL5 in 10 Minutes and Guide to writing a DLL for MQL5 in Delphi

FXEZ
14
FXEZ  
Quantum:

By the way, there is an article Exposing C# code to MQL5 using unmanaged exports with desciption of pitfalls and some tricks in using of C# DLLs in MetaTrader.

See also How to Exchange Data: A DLL for MQL5 in 10 Minutes and Guide to writing a DLL for MQL5 in Delphi

Great links Quantum!
parham.trader
309
parham.trader  
Quantum:

By the way, there is an article Exposing C# code to MQL5 using unmanaged exports with desciption of pitfalls and some tricks in using of C# DLLs in MetaTrader.

See also How to Exchange Data: A DLL for MQL5 in 10 Minutes and Guide to writing a DLL for MQL5 in Delphi


what a perfect links Quantum!!

I was searching for them for days , thank you so much! 

To add comments, please log in or register