Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Questions concerning referencing external DLLs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Questions concerning referencing external DLLs

    I have questions regarding the addition of external DLL to the NinjaTrader editor window.


    I have seen mentioned numerous times, in other topic replies, that any external DLL files must be copied into the "NinjaTrader 8\bin\Custom" directory. However, if I open the References window, I do see a number of external references that are located outside of this directory.

    Question: Is it absolutely required that external references be copied to the "NinjaTrader 8\bin\Custom" directory, or can they be added from their original locations?

    Click image for larger version

Name:	image.png
Views:	111
Size:	41.5 KB
ID:	1327754

    Given that I have copied to the "NinjaTrader 8\bin\Custom"​ directory all of the DLLs from some external project, can I simply add the main DLL as a reference in the Reference window, expecting that Windows will be able to find any dependent DLLs in the same directory?

    Thank you.

    #2
    I seem to have answered my question about whether it is sufficient to reference the main DLL of a multi-DLL project. I have a project that accesses an SQL Server database. I copied all of the required DLLs to the "NinjaTrader 8\bin\Custom" directory, but referenced only the main DLL. NinjaTrader is able to call the external project without any errors.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    43 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    134 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    189 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    99 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    140 views
    0 likes
    Last Post cmoran13  
    Working...
    X