Article View: borland.public.cppbuilder.migration
Article #191L&H speech recognition ASRAPI.h, asrDbOpen, Upgrading C++ Builder6 to Borland2006
From: JConnors
Date: Wed, 01 Nov 2006 20:00
Date: Wed, 01 Nov 2006 20:00
46 lines
2087 bytes
2087 bytes
I am upgrading a voice application that uses the L&H speech recognition
api calls.
The application hangs on the call to 'asrDbOpen'. I am not able to
step into the asrDbOpen call since ASRAPI.h is a compiled library. If
the line with 'asrDbOpen' is commented out, the program does not hang
but does not recognize anything.
The enviroment is on a new machine with XP Media Center Service Pack 2.
I have installed the L&H and can use the Lextool.
#include "ASR1500.H"
#include "ASRAPI.H"
TForm1::OpenVoiceUser()
{
hDb = asrDbOpen("MIC1602 - Office"); // hangs in Borland C++
Builder 2006
if (hDb <= ASRERR_MAXERR)
Label1->Caption = "Error";
hCtx = asrCtxOpen(hDb, "harley", "basewords",
ASRCTXATTRIB_WRITE);
if (hCtx > ASRERR_MAXERR)
Label1->Caption = "Open";
}
The routine works in C++ Builder 6 but not in the Borland 2006.
Technical Details
Message-ID:
<1162411233.083472.250950@m73g2000cwd.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!m73g2000cwd.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 110f51,25ed8a2081c539ec,start X-Google-Attributes: gid110f51,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!m73g2000cwd.googlegroups.com!not-for-mail From: JConnors@IDrama.com Newsgroups: borland.public.cppbuilder.migration Subject: L&H speech recognition ASRAPI.h, asrDbOpen, Upgrading C++ Builder6 to Borland2006 Date: 1 Nov 2006 12:00:33 -0800 Organization: http://groups.google.com Lines: 47 Message-ID: <1162411233.083472.250950@m73g2000cwd.googlegroups.com> NNTP-Posting-Host: 64.139.92.103 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1162411253 6271 127.0.0.1 (1 Nov 2006 20:00:53 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 1 Nov 2006 20:00:53 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; FDM),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: m73g2000cwd.googlegroups.com; posting-host=64.139.92.103; posting-account=H3bkpA0AAABPy6SY9kaKdkRJXjCbE02C