Ver Mensaje Individual
  #3  
Antiguo 01-01-2015
JoseGallo JoseGallo is offline
Registrado
NULL
 
Registrado: dic 2014
Posts: 3
Reputación: 0
JoseGallo Va por buen camino
error en SpeechLib_TLB

me sale error en esa libreria

Código Delphi [-]
unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, OleServer, SpeechLib_TLB, ActiveX, ComObj, ComCtrls;

type
  TForm1 = class(TForm)
    Button1: TButton;
    Edit1: TEdit;
    procedure Button1Click(Sender: TObject);
    private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
var BeenPaused : Boolean;
begin
  if not BeenPaused then
    SpVoice.Speak(reText.Text, SVSFlagsAsync)
  else
  begin
    SpVoice.Resume;
    BeenPaused := False
  end
end;

end.

Última edición por nlsgarcia fecha: 01-01-2015 a las 18:46:00. Razón: Sintaxis Delphi
Responder Con Cita