astrolobe
11-29-2007, 08:50 PM
I call some methods from a custom dll. It compiles without a problem, except when I add the strategy to the chart, non of the expected behaviour occurs, i.e. the strategy code does not do anything, and no errors occur. Also intellisense does not work in the Strategy for the new classes and methods in the custom dll.
To make it work, all I have to do is shut down NT (beta 4) and restart it. I go into my program and recompile for good measure...and it works as it should.
A seperate issue: Are the references for each strategy accumalative? If I have two strategies A and B, and each strategy requires its own different reference to a dll, eg. dll_1 and dll_2, then when compiling Strategy A, I am forced to reference the dll that is used for Strategy B as well. If I don't, then I get a compilation error for Strategy B, even though I am trying to compile strategy A.
To make it work, all I have to do is shut down NT (beta 4) and restart it. I go into my program and recompile for good measure...and it works as it should.
A seperate issue: Are the references for each strategy accumalative? If I have two strategies A and B, and each strategy requires its own different reference to a dll, eg. dll_1 and dll_2, then when compiling Strategy A, I am forced to reference the dll that is used for Strategy B as well. If I don't, then I get a compilation error for Strategy B, even though I am trying to compile strategy A.