Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DLL reference

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

    DLL reference

    I've been trying to set up a reference to a DLL and it does not seem to work. After I add the reference, I do a "using" and the library does not come up. I tried typing in the path and class name and it just fires an error saying it does not find it. Is there anything I have to do to get to my reference? BY the way, I am trying to reference a very popular TA library (TA-Lib http://www.ta-lib.org) in case someone has already done it.
    Thanks

    #2
    I assume you have added a reference in the NinjsScript Editor via right click, "Add Reference" ? If yes, try restarting NT.
    RayNinjaTrader Customer Service

    Comment


      #3
      yes, I did that. It took a lot of playing with it. I had to close the application about five times. It works now...

      Comment


        #4
        Great you got it working, thanks for reporting back.

        Comment


          #5
          well... not so fast. I did make it compile; but it does not seem to execute the line of code where I call a function from the external DLL. I have tried with "using" and also with explicitly calling the function from the code and nothing. It just breaks there in that line. It does not fire an error; but it does not work either. I tried also to debug it and it does not even responds to the debugger. Is there anything I should know about DLL's?

          Comment


            #6
            Hi, in which folder did you place the DLL? Do you see any errors in the log tab when trying your call?

            Comment


              #7
              well, turns out that I had to close and open the application 10 more times so it would work... that is really messed up... there's got to be a bug there somewhere. There was nothing in the log, no error fired, nothing... just the indicator not coming up...

              Comment


                #8
                lgarcia3,

                Is this issue resolved now?
                Josh P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by sjsj2732, Yesterday, 04:31 AM
                0 responses
                35 views
                0 likes
                Last Post sjsj2732  
                Started by NullPointStrategies, 03-13-2026, 05:17 AM
                0 responses
                287 views
                0 likes
                Last Post NullPointStrategies  
                Started by argusthome, 03-08-2026, 10:06 AM
                0 responses
                286 views
                0 likes
                Last Post argusthome  
                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                0 responses
                133 views
                1 like
                Last Post NabilKhattabi  
                Started by Deep42, 03-06-2026, 12:28 AM
                0 responses
                92 views
                0 likes
                Last Post Deep42
                by Deep42
                 
                Working...
                X