I am using NT 7.0.1000.37 and have written a custom DLL in Delphi XE7 (version 21.0.17017.3725). NT7 is 64 bit and the DLL generated is 64 bit.
When compiling my indicator I get the error:
Metadata file 'c:\Users\xxx\Documents\NinjaTrader 7\bin\Custom\DLLname.DLL' could not be opened -- 'An attempt was made to load a program with an incorrect format.' CS0009.
There is no specific help for CS0009. Other custom DLL errors on the forum are not for Delphi.
What needs to change about the format of my Delphi DLL to load and work with NT7?
Thanks
Comment