Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaTrader.Client.dlll v.8.0.28.0

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

    NinjaTrader.Client.dlll v.8.0.28.0

    We built a dll to allow Tradestation to work with Ninjatrader using the NinjaTrader.Client.dll instead of the NtDirect.dll that we had been using. Today, for a different reason, I upgraded to v.8.0.28.0 from 8.0.26.1. The dll no long worked, so I rebuilt the solution in VS using the file "C:\Program Files\NinjaTrader 8\bin\NinjaTrader.Client.tlb". The dll builds ok, when I try to call it from Easylanguage, I get a C++ exception, which I suspect is due to the fact that the dll I build using that file is 64 bit, which may not work with Tradestation. Can anyone comment?

    As a check on what is going on I went to a different computer which has NT 8.0.27.1 on it and I took all of my dlls which were designed as a wrapper for the NinjaTrader.Client.dll and tested them and they all worked using the exact same dll call. If they do not work which I am using NT 8.0.28.0, does that mean the NinjaTrader.Client.dll has changed, or something else?
    Last edited by Atomic; 06-29-2023, 07:48 PM.

    #2
    If I have a dll that works with NinjaTrader.Client.dll on v 8.0.26 or 27 is it reasonable to expect that it would also work with v 8.0.28 or 8.1, but it doesn't. Please explain.

    Comment


      #3
      Originally posted by Atomic View Post
      The dll builds ok, when I try to call it from Easylanguage, I get a C++ exception,
      Got any screenshots?

      Comment


        #4
        Originally posted by bltdavid View Post

        Got any screenshots?
        The error message simply says C++ exception. There is no other information.

        Click image for larger version

Name:	C++Exception.jpg
Views:	462
Size:	75.5 KB
ID:	1258396
        The Easylanguage scriptd that is running is this:
        Code:
        DefineDLLFunc: "TsDllTester.dll", string, "NewOrderId";
        
        once begin
        print(NewOrderId);
        end;​
        The same code with the same dll works on v8.0.27, but fails on v8.0.28.
        Last edited by Atomic; 06-30-2023, 04:22 AM.

        Comment


          #5
          Here's another piece of information. When I go to a server that is running Tradestation 10(68) and NinjaTrader 8.0.28.x, then dll wokrs fine. When I try to use the same dll on my own desktop, it fails with C++ exception. Any ideas on this?

          Comment


            #6
            Hello Atomic,

            You may want to reinstall.

            I've tested the NinjaTrader.Client.dll on 8.1.1.7 and this is working without issue.

            An example project to test with can be found here.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_ChelseaB View Post
              Hello Atomic,

              You may want to reinstall.

              I've tested the NinjaTrader.Client.dll on 8.1.1.7 and this is working without issue.

              An example project to test with can be found here.
              https://ninjatrader.com/support/foru...626#post793626
              Thank you. I will try 8.1.1.7 tomorrow. What I see right now is that on my windows 11 desktop, my dll will not work with NT v8.1, but it does work with NTv8.0.26 or NTv8.0.27.
              The dll also works on Windows server version 2019 with NTv8.1.x. Go figure...

              Comment


                #8
                Originally posted by NinjaTrader_ChelseaB View Post
                Hello Atomic,

                You may want to reinstall.

                I've tested the NinjaTrader.Client.dll on 8.1.1.7 and this is working without issue.

                An example project to test with can be found here.
                https://ninjatrader.com/support/foru...626#post793626
                Can you tell me if the .Net versions are the same for NTv8.0.27 and NTv8.0.28 and NTv8.1.1?

                Comment


                  #9
                  Hello Atomic,

                  Both versions use .NET 4.8, which was updated in release 8.0.23.2.
                  https://ninjatrader.com/support/help...8/8_0_23_2.htm
                  Chelsea B.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by argusthome, 03-08-2026, 10:06 AM
                  0 responses
                  110 views
                  0 likes
                  Last Post argusthome  
                  Started by NabilKhattabi, 03-06-2026, 11:18 AM
                  0 responses
                  59 views
                  0 likes
                  Last Post NabilKhattabi  
                  Started by Deep42, 03-06-2026, 12:28 AM
                  0 responses
                  37 views
                  0 likes
                  Last Post Deep42
                  by Deep42
                   
                  Started by TheRealMorford, 03-05-2026, 06:15 PM
                  0 responses
                  41 views
                  0 likes
                  Last Post TheRealMorford  
                  Started by Mindset, 02-28-2026, 06:16 AM
                  0 responses
                  78 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Working...
                  X