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:	116
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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    54 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    25 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    17 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    24 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X