473,401 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

compiling SAPI sample application

ma
Hello,

I download SAPI 5.1 and open coffes0 project and tried to compile it
using MSVC2005. I am getting the following error which I don't know to
solve. Would you please help me?

Is there any tutorial in web on how to develop a SR system with SAPI 5.1? I
use Google with no success.

c:\program files\microsoft speech sdk 5.1\include\sphelper.h(2560) : error
C2440: 'initializing' : cannot convert from 'CSpDynamicString' to 'SPPHONEID
*'

No user-defined-conversion operator available that can perform this
conversion, or the operator cannot be called

c:\program files\microsoft speech sdk 5.1\include\sphelper.h(2635) : error
C2664: 'wcslen' : cannot convert parameter 1 from 'SPPHONEID *' to 'const
wchar_t *'

Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
Regards

ma

May 10 '06 #1
1 3334
I recently answered essentially this same question on the
microsoft.public.speech_tech.sdk newsgroup.

--
Mike

This posting is provided "AS IS" with no warranties, and confers no rights.
"ma" <ma@nowhere.com> wrote in message
news:OP*************@TK2MSFTNGP02.phx.gbl...
Hello,

I download SAPI 5.1 and open coffes0 project and tried to compile it
using MSVC2005. I am getting the following error which I don't know to
solve. Would you please help me?

Is there any tutorial in web on how to develop a SR system with SAPI 5.1?
I
use Google with no success.

c:\program files\microsoft speech sdk 5.1\include\sphelper.h(2560) : error
C2440: 'initializing' : cannot convert from 'CSpDynamicString' to
'SPPHONEID
*'

No user-defined-conversion operator available that can perform this
conversion, or the operator cannot be called

c:\program files\microsoft speech sdk 5.1\include\sphelper.h(2635) : error
C2664: 'wcslen' : cannot convert parameter 1 from 'SPPHONEID *' to 'const
wchar_t *'

Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
Regards

ma

Jun 30 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andres Rosado-Sepulveda | last post by:
Hello, I'm having trouble compiling PHP 4.3.4 on Solaris 8. This is the error message it is showing: -- start -- Undefined first referenced symbol ...
0
by: yzzzzz | last post by:
Hi, I am compiling PHP 5.0.2 myself with MySQL support. I did a ./configure --with-mysqli=/usr/local/mysql/bin/mysql_config (see end of post for complete configure) Note: I also have...
0
by: Bob | last post by:
I have a C# windows application that uses SAPI 5.1 speech recognition. I would like to use dynamic grammars but am having trouble finding the right command syntax and method parameters to use for...
1
by: New Devil | last post by:
hi how can i use SAPI with TAPI in C# ... give me any idea how to make a simple program to use SAPI with TAPI in C# ........... Best Regards ibrahim@islamabad.net Ibrahim Zaman Posted Via...
0
by: matetelki | last post by:
Hi! As I've found tons of VB and C# sample codes, I was trying to transform it into PHP code, using the COM objects. My aim is to create a simple html, that creates a wav from a text. Here's...
0
by: Danny De Koster | last post by:
Hi all, I want to use PHP with our informix database. So I want to make PHP 'Informix-enabled' with Apache. I already made apache but now at PHP the system gives me problems. Does anybody...
8
by: Gilles Ganault | last post by:
Hello I need to compile PHP5 with SQLite statically and without PDO. I don't need DB-independence, so it's fine using sqlite_*() functions instead of PDO. 1. I've downloaded, compiled, and...
1
by: weheh | last post by:
I'm running Python 2.3 and calling pyTTS. I've had it working forever. Today, I ran out of disk space. After deleting some of my personal files, for no apparent reason, pyTTS no longer runs. ...
1
by: tomfox | last post by:
Hi there, is there any tutorial on voice recognition in C# that explains the basic steps to create a simple VR application MSDN has some good tutorials unfortunately in C++. The only sample I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.