| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack (1) | Thread Tools | Display Modes |
|
|||
|
I have heard that proper dlls created in VB6 do work.
One of the problems, and maybe you ran into this with your test, is that the function names get mangled. You need to specify a def file in Visual Studio. I understand where MetaTrader is coming from. Bridging the Managed and Unmanaged gap is not an easy undertaking. For me, I am actually relieved they don't since that would prevent MetaTrader from running on Linux, OSX, etc. I have seen several other applications (Dreamweaver, for example) that allow .dll plugins but have the same restrictions. As far as not building an API, after all MetaTrader only exists for the brokers. People need to pressure their brokers for an API. |
|
||||
|
Quote:
Am I missing something? I'd certainly love the tool, but I think its above my talents as a programmer... -CS
__________________
Join the MultiBroker M1 and TICK Data Bank Project Imagine 90-99% modeling quality in MT4 back testing with free data from your broker! Come see our current list of covered brokers. |
|
|||
|
Not to difficult - and here is why:
1. http://blogs.msdn.com/deeptanshuv/ar...26/432870.aspx - says we can call managed code from unmanaged and gives the procedure for doing this. It seems to expose as COM interfaces the managed entry points. 2. There is some semi-automated methods for exposing COM functions through the use of pexports (especially for us MingW users). 3. Really this is only text parsing and spitting out new files to be passed into a defined compiler. 2. In addition, http://msdn.microsoft.com/msdnmag/issues/05/04/C/ - shows the use of a manual wrapper class that exposes these Managed functions to non-managed code by automatically generating a dll. This may be the easier way to go.... |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/metatrader-4/5788-net-dll-wrapper.html
|
||||
| Posted By | For | Type | Date | |
| Cubesteak Central » About | This thread | Refback | 07-18-2007 05:41 PM | |