Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to import unmanaged C++ DLL
Collapse
X
-
Hello defa0009,
Unfortunately this would be outside of what our support can assist with. We can only assist with C# based code and have limited ability to help with C# dll references (we can only supply details on how to place the file in the correct folder and reference it). For unmanaged dlls you would need to use code similar to what you have to use it in C# in general but that is not something I can directly assist with.
-
Hello defa0009,
Unfortunately that is outside of what we can support, as mentioned our support does not have any resources to assist with unmanaged code. NinjaTrader is a C# platform and our support can only assist with C# code being developed inside of NinjaTrader. Calling an outside dll is not something we can directly assist with. We can tell you the correct location to put the file and for C# dlls we can provide directions on how to reference it.
Comment
-
Hello defa0009,
The development team is not a customer facing team. Our NinjaScript support team, which I am a part of, can assist with C# code being developed in the platform and provide learning resources on how to use NinjaScript. We do not have anyone who can assist with using C++ dlls or other languages that are not C# written in NinjaTrader.
While you technically can call C++ dlls in C# that is not what NinjaTrader is intended to be used with. You can instead develop C# code inside the platform and use that to control NinjaTrader by using the NinjaScript framework. If you choose to use other languages that would be outside of what we can assist with. If any users utilize C++ from NinjaScript they may comment on this post to help but our support has no resources that we can provide to assist with this type of question.
Comment
-
Hello defa0009,
Because an external C++ dll is being used I cannot assist with that part. If you see a problem when not using that dll and see a problem with just the C# side that would be a case where I could review and report a problem if necessary. We have no one who can work on C++ to know if something you are doing is wrong which is causing that problem. C++ is not something we can help with at all, its 100% unsupported.
If you have a C# problem which you think is a bug that does not require the unmanaged dll you can report that on the forum and we can test it to see if there is a bug. If so we can report it. We need a sample that demonstrates the problem so we can see it before we can report anything. There is no other way to report bugs.Last edited by NinjaTrader_Jesse; 08-22-2024, 01:27 PM.
Comment
-
Hello defa0009,
Unfortunately I wouldn't be able to tell if it is or is not something wrong with the C++ dll, again we have no one that can assist with C++ related questions. Because of that and also because C++ use is 100% unsupported we would be unable to assist. As I have outlined what we can and cannot help with there is nothing additional that I can provide here. If any users who work with C++ can assist they will.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
58 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
39 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
19 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
20 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
50 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment