vxi-discuss



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wininet.dll and vxios



I had the same error trying to use scriptfile. A correction was necessary to
allow this working. May this be the same problem for you?
In my case, the recognition faulted when i tried to replace the default
return (in rec_qa.c / QArecRecognize) "berry" by something writen in a
script file. The problem was solved addind :
  VXIObjectSetProperty(res,"status",
VXIIntegerCreate(OSB_REC_RESULT_SUCCESS));
He may try to verify a property which is not set (saying the file was found,
correctly accessed...).
Hope this could help anyone.
Régis Privat.
P.S. : I would like to add the voice recognition (using dragon naturally
speaking on winNT). Anyone tried to make it work and can halp me?

----- Original Message -----
From: "Jean-Michel Reghem" <jeanmichel.reghem@advalvas.be>
To: <vxi-discuss@metronomicon.com>
Sent: Friday, April 13, 2001 10:53 AM
Subject: wininet.dll and vxios


> When i read the document "Speech Browser Architecture", i see: "The
> internet/OS library provides platform independant access to the internet
> and the operation system. An implementation of the API for windows NT
using
> the WININET dll is provided as part of the toolkit.
>
> But, when i try to give an url, it doesn't work. It work only for local
> file... Thus i watch at browser\src\os\makefile.am and i see it is
> vxiurl_file.c used, instead of os_url_win.cpp (which contains the wininet
> implementation)
>
> Thus, i include the file os_url_win.cpp in my project to use it instead of
> osid.lib
> Now, it works, but, i got this error:
>
> setting -maxCalls to 1
> setting -numChannels to 1
> Global init OK
> numchannels = 1
> Platform create
> Line 0: Got call 1
> Create ok
> Line:0 Pushing new execution context
> Line:0 Pushed scope OK
> Line:0 Session vars initialized
> Line:0 Pushed initial execution context
> Line:0 About to download
> http://studio.tellme.com/library/code/ex-108/index.vxml
> Line:0 Fetching http://studio.tellme.com/library/code/ex-108/index.vxml
> method = GET
> set timeout
> set fetch timeout
> queryStringStr =
> Caching On
> enclen = 0, qlen = 0
> Got http status code 200
> Open of http://studio.tellme.com/library/code/ex-108/index.vxml OK
> Error: line0: Unknown error caught in run()
> Line:0 VXI returned 'Unknown error caught in run'
> Destroy ok
> Line 0: Done call 1
>
>
>
> Is it normal?
> Is it os_url_win.cpp not yet completly implemented?
>
> Is it the same thing with trd_mutex_posix.c and trd_mutex.cpp?
>
> Thanks...
> Jean-Michel Reghem
>
> Ps: Maybe there is a "bug" in the mailing list... when someone replies to
a
> question, he replies to the original sender and not to vxi-discuss... Is
it
> normal? I think a good answer can help a lot of people, and not only the
> sender... no?
> I think it could be beter if the field "reply-to" of this mailing list is
> set to vxi-discuss...
> What do you think about that?
>
>
>




This page is maintained by Alan W Black (awb@cs.cmu.edu)
speechinfo.org is hosted on a machine donated by VA Linux Systems
VA Linux Systems