Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
        BertrandNinjaTrader Customer Service

        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?
            BertrandNinjaTrader Customer Service

            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 sidlercom80, 10-28-2023, 08:49 AM
                168 responses
                2,262 views
                0 likes
                Last Post sidlercom80  
                Started by Barry Milan, Yesterday, 10:35 PM
                3 responses
                10 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by WeyldFalcon, 12-10-2020, 06:48 PM
                14 responses
                1,429 views
                0 likes
                Last Post Handclap0241  
                Started by DJ888, 04-16-2024, 06:09 PM
                2 responses
                9 views
                0 likes
                Last Post DJ888
                by DJ888
                 
                Started by jeronymite, 04-12-2024, 04:26 PM
                3 responses
                41 views
                0 likes
                Last Post jeronymite  
                Working...
                X