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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    213 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    125 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    145 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    228 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    190 views
    0 likes
    Last Post CarlTrading  
    Working...
    X