Forum

Problems including c++ dll

Hi, I'd like to use an extern dll. I tried to use the ExpertSample dll and it worked. I even could compile this sample with Visual Studio 2008 ant it also worked. But when I opened a new project (classlibrary(dll)) in Visual Studio and copied the code from the ExpertSample into it, I could compile

different results using a dll function

Hi, I've got a real strange problem using a dll with MetaTrader: I've written a 2 Indicators and 1 dll. Both indicators call the dll to caclulate its values. Indicator 1 calls function1 from the dll to get its values and Indicator 2 calls function2 from the dll to get its values. Indicator 2 can

dll crash

Hi, I have developed a dll in c++. I then wrote 3 indicators which use this dll. For each indicator there was a function in this dll. when a atach an indicator to a chart, metatrader sometimes chrashes. first the indicator is shon correctly and when I scroll everything works fine. If I scroll a bit