Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Obfuscated dll + Debugger VS

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

    Obfuscated dll + Debugger VS

    Hello,

    I have developed an indicator which uses an external dll.
    This dll is obfuscated and located in the bin / Custom directory.

    When I attach the Visual Studio debugger and try to open the Indicators dialog of a chart, the debugger throws an exception (even before selecting the protected indicator).



    I guess because all NinjaTrader scripts are in the same project, this behavior is expected.

    The problem arises when I send my indicator + obfuscated dll to my clients. They will not be able to debug their own indicators with VisualStudio.

    Thanks.
    Attached Files

    #2
    We 'execute' each indicator and trigger its OnStateChanged() method for SetDefaults as soon as you open the indicator dialog even if your indicator isn't selected.

    If you have some custom DLL which would execute code there that is 'obfuscated' then we could expect that behavior. Each obfuscation technique is a little different and I'm surprised your actually seeing exception there with an obfuscated DLL. Not sure if that is a bug or intended feature of the third party obfuscation.

    I would try contacting the DLL export / obfuscator company to see if anything could be done.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by trilliantrader, 04-18-2024, 08:16 AM
    5 responses
    22 views
    0 likes
    Last Post trilliantrader  
    Started by Davidtowleii, Today, 12:15 AM
    0 responses
    3 views
    0 likes
    Last Post Davidtowleii  
    Started by guillembm, Yesterday, 11:25 AM
    2 responses
    9 views
    0 likes
    Last Post guillembm  
    Started by junkone, 04-21-2024, 07:17 AM
    9 responses
    68 views
    0 likes
    Last Post jeronymite  
    Started by mgco4you, Yesterday, 09:46 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X