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

Where to load a DLL in 64 bit version

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

    Where to load a DLL in 64 bit version

    I load a dll into the ninjatrader bin folder on my win 7 PC and get no errors, but when I lod the same DLL into my 64 bit XP PC, I get the following error

    This error is when I load the DLL into the Bin64
    Assembly Resolve Event handlers cannot return Assumblies for reflection only

    This error when loaded into the bin
    Could not load file or assembly '...

    I am including the reference for the right bin as well.

    Whats the error?

    Tinkerz

    #2
    Hi Tinkerz, are you loading the same DLL version into an NT7 with the same build # (you can check under Help > About)? Is this a 3rd party indicator / strategy or a completely self written dll study you wish to work with?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Its a third party DLL, it works on XP and Win7 with ninjatrader, but not 64, i wonder if i am loading it correctly in the references

      Comment


        #4
        If this is a 3rd party indicator / strategy please ask the developers for a zip export for the current NT7 version and then import this file on your 64 bit OS, NT would then store 32 and 64 bit dll version as needed for it's operations.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by frankthearm, Today, 09:08 AM
        7 responses
        28 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by NRITV, Today, 01:15 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by maybeimnotrader, Yesterday, 05:46 PM
        5 responses
        25 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by quantismo, Yesterday, 05:13 PM
        2 responses
        16 views
        0 likes
        Last Post quantismo  
        Started by adeelshahzad, Today, 03:54 AM
        5 responses
        33 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X