PDA

View Full Version : FileNotFoundException, accessing NinjaTrader


californiaruby
02-08-2007, 08:39 PM
This is my first attempt at a custom program that interfaces with NinjaTrader. I'm writing in C#. I am an experienced developer, but not as strong in C# as in C++ (unmanaged).

I have a class "Platform" that contains
private NinjaTrader.Cbi.Connection connection = null;
When I instantiate Platform, I get
System.IO.FileNotFoundException was unhandled

The solution has a reference to NinjaTrader.core. The program runs without exception if the above line is commented out.

My debug folder contains NinjaTrader.core.dll, so I can't see why there would be any trouble.

What am I missing?

NinjaTrader_Dierk
02-09-2007, 12:22 AM
We do not support custom development against NT API.

However, installation comes with a sample <install>\samples which could help.
Note: There was a bug in the sample which is fixed with next beta.

californiaruby
02-09-2007, 03:13 AM
I understand that this is free support and I appreciate the support that you _can_ provide. I'm using version 6.0.0.6.

I also appreciate the hint. I have exactly the same problem with <install>\samples\NinjaTrader.Tutorial.sln.

I have two questions:
1) Can you provide any insight as to when the next beta might be available?
2) Do you know whether I can _purchase_ support for custom development against the API?

Thank you.

NinjaTrader_Dierk
02-09-2007, 03:27 AM
- The next beta will be available within the next few days.
- NinjaTrader does not provide custom development support (not even on a paid base). You may see value in tasking an expert like "mulyoved AT gmail DOT com". However, we don't provide API custom development support to these experts neither.

californiaruby
02-09-2007, 04:38 AM
Thank you.

ATLien
02-13-2008, 11:21 PM
- The next beta will be available within the next few days.
- NinjaTrader does not provide custom development support (not even on a paid base). You may see value in tasking an expert like "mulyoved AT gmail DOT com". However, we don't provide API custom development support to these experts neither.

I'm getting the same problem. I'm scratching my head wondering what DLL isn't being found. I've checked out NinjaTrader.core.dll in dependency walker and everything seems to be there. Is there any kind of tip you can give?

I'm using MS Visual C# Express 2008, .NET 3.5.

This could be a bug in the current beta release, 6.5.0.8?

NinjaTrader_Josh
02-13-2008, 11:26 PM
Unfortunately the use Visual C# is beyond the scope of what we can support at this time.

NinjaTrader_Dierk
02-13-2008, 11:30 PM
Hint: NT5 and N6.5 both require.NET 2.0 and not .NET 3.5.

ATLien
02-13-2008, 11:42 PM
Hint: NT5 and N6.5 both require.NET 2.0 and not .NET 3.5.

Thanks for the hint, but I tried modifying the project target framework to 2.0 without much luck. I guess I'll have to go another route :(

PS: I can use NinjaTrader.Client.dll perfectly fine.