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 futtrader, 04-21-2024, 01:50 AM
    6 responses
    57 views
    0 likes
    Last Post futtrader  
    Started by sgordet, Today, 11:48 AM
    0 responses
    1 view
    0 likes
    Last Post sgordet
    by sgordet
     
    Started by Trader146, Today, 11:41 AM
    0 responses
    2 views
    0 likes
    Last Post Trader146  
    Started by jpapa, 04-23-2024, 07:22 AM
    2 responses
    17 views
    0 likes
    Last Post rene69851  
    Started by funk10101, Today, 11:35 AM
    0 responses
    1 view
    0 likes
    Last Post funk10101  
    Working...
    X