We have an open source platform that the source is available here - [login to view URL] The SourceCode folder has the code for a Visual Studio 2012 project
There is a C++ dll in that project called MT4IntergrationDLL that is used in an expert advisor with MetaTrader to connect the OpenForexPlatform to MetaTrader. While everything compiles cleanly, on Windows 7 I get an the error message "MT4 Initialization failed. Requrired assemblies not found in GAC." (which appears to be as a result of the call to the .Net assemblies failing). It might be important to note that there is a warning on the compile about LoadLibraryShim being deprecated
I need to get this to work. Looking for someone that knows C++ and .Net integration and is well versed enough in MetaTrader (basically knows how to use it) to test out the result. There is also a PDF in the root of the github project that discusses the integration