Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Global Variables

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

    Global Variables

    I would like to refer to Global Variables dll from my code but can't get it working.

    Here is my import statement :

    Code:
            [DllImport("GlobalVariable.dll", SetLastError=true)]
            public static extern double GV_SetNamedDouble(string iLocation, double dVal);
            [DllImport("GlobalVariable.dll", SetLastError=true)]
            public static extern double GV_GetNamedDouble(string iLocation);
    Where should I put the Gloval Variables dll...
    I tried NinjaTrader 7/Custom , NinjaTrader 7/bin...


    Thanks

    #2
    blar58, unfortunately we would not know since it's a 3rd party component which we can't support here - however working with the GV DLL has been the topic of other threads on this forum before - http://www.ninjatrader.com/support/f...riables&page=2

    You would normally copy them in the bin > custom folder and then restart NT so the files would be loaded.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    576 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    334 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X