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:	105
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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    49 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X