[program-l] Re: Jfw api code fragment not working

  • From: "Will Pearson" <will-pearson@xxxxxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Fri, 9 Sep 2005 12:30:53 +0100

Hi Sean,

What behaviour are you getting? Does it stop speaking before the end of the string you passed into the speak function, or does it continue to speak all of the string you passed into the speak function?

Will
----- Original Message ----- From: "SEAN FARROW" <S0201608@xxxxxxxxxx>
To: <program-l@xxxxxxxxxxxxx>
Sent: Friday, September 09, 2005 12:16 PM
Subject: [program-l] Jfw api code fragment not working



Hi;
I am using he jfw api within a vc6 dll. When using the JFWRunScript function this work fine but when using the JFWStopSpeech function within the following function the speech is not stoppedc as it should be. Anyone got any idea given the following code?
extern "C"
void WINAPI RunCommand( LPSTR pszCommand)
{
if (pszCommand =="Stop Talking") {
bool state;
state =JFWStopSpeech();
}


}
As you can see the jfwapi.h file is included, and the library is beeing linked to in theproject options.
Any help or ideas greatfully recieved.
Regards
Sean.



** To leave the list, click on the immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link doesn't work then send a message to: ** program-l-request@xxxxxxxxxxxxx ** and in the Subject line type ** unsubscribe ** For other list commands such as vacation mode, click on the ** immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq



** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: