[program-l] Jfw api code fragment not working

  • From: "SEAN FARROW" <S0201608@xxxxxxxxxx>
  • To: program-l@xxxxxxxxxxxxx
  • Date: Fri, 09 Sep 2005 12:16:39 +0100

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

Other related posts: