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 llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    15 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    14 views
    0 likes
    Last Post strategist007  
    Working...
    X