I am working with a desk manager who has an external
software compatable with NT.
I am trying to use the Runtime.dll from the software
folder in the NinjaTrader 7. However I am unsuccessful.
My system is a 64bit Windows machine with .Net Frameworks 4.5 and
4.6 installed.
When trying the VB example from the programming examples folder, the
program works fine. Similarly, if I try to use it in Visual Studio
.Net in a C# project where I add the dll as a reference, everything
works fine: I can instantiate a Runtime.DLL object.
What I do, is I take the Interop.Runtime.dll generated
in the Visual Studio when the Runtime.dll is added to the
references, and place it in Documents/NT7/bin/Custom.
Then, in NT 7 (32b) I add the reference in an Indicator and then I
simply create and instantiate the Runtime.DLL. NT compiles
the indicator fine but at runtime I get this error:
: Could not load file or assembly 'Interop.Runtime,
Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its
dependencies. The system cannot find the file specified.
I believe is something with the way Visual Studio converts the
Assembly COM DLL to an Interop DLL but I can't seem to figure what it
is. Can you help me with this issue ?
or........
Should I attempt a different method for this in NT8 ?
Kind regards
Ari
Comment