I'm planning on using an external unmanaged DLL file. When I try to use it, I get an error in my trace file, saying:
2009-12-14 17:42:34:328 WARNING: Ignoring 'C:\Documents and Settings\Paul\My Documents\NinjaTrader 6.5\bin\Custom\PivotsDLL.dll' since it was not recognized as .NET assembly.
And then later in the trace file it says:
2009-12-14 17:44:01:906 ERROR: Failed to call method 'Initialize' for indicator 'CustomLinesIndicator': Unable to load DLL 'PivotsDLL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
The DLL file is actually there, obviously, since it says it is not a .NET assembly. So, it looks like there is some amount of work to do to use an unmanged DLL.
I notice that some of the third-party indicators I have, they include two DLL's, it looks like one is managed, one un-managed. So, I'm guessing (perhaps) that to use unmanaged DLL's, you need a managed DLL go-between?
Comment