Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Properly Dispose of SpeechSynthesizer

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

    Properly Dispose of SpeechSynthesizer

    Hi,

    I am using System.Speech.dll reference to do TTS in my indicator...How do you recommend I efficiently dispose of the SpeechSynthesizer object when closing the chart?

    Thanks in advance.

    #2
    Hello,

    For cleaning up resources the State.Terminated would generally be used for this.

    You can find more details on all of the states here: http://ninjatrader.com/support/helpG...sub=terminated


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by timko, Today, 06:45 AM
    2 responses
    12 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by habeebft, Today, 07:27 AM
    0 responses
    4 views
    0 likes
    Last Post habeebft  
    Started by Tim-c, Today, 03:54 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by rocketman7, Today, 01:00 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by wzgy0920, 04-23-2024, 09:53 PM
    3 responses
    76 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X