Download MetaTrader 5
To add comments, please log in or register
Make screenshots in MetaTrader and manage them in the gallery!
c0d3
781
c0d3 2011.02.07 20:47 

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
1389
JC 2011.02.07 21:36  
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
781
c0d3 2011.02.10 02:37  
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 2011.02.10 18:58  
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
781
c0d3 2011.02.11 03:50  
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
88370
Automated-Trading 2011.02.11 08:51  

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 2014.07.16 22:32  
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
193
parham.trader 2014.07.17 06:26  
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