• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 Branpo, Today, 01:25 PM
    2 responses
    4 views
    0 likes
    Last Post Branpo
    by Branpo
     
    Started by aslane, Today, 12:47 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by HavasuTrader, Today, 12:30 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by Boonfly8, Today, 12:20 PM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by RedDuke, Today, 11:40 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Working...
    X