Vista 64上的SAPI和.NET 3.5 [英] SAPI and .NET 3.5 on Vista 64

查看:113
本文介绍了Vista 64上的SAPI和.NET 3.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用.NET 3.5语音API并试图在Vista 64下运行的应用程序.我已经安装了32位语音,并且它们显示在32位控制面板小程序中,并且字样很好.但是,当我使用.NET函数GetInstalledVoices时,它仅返回64位语音.

I have a application that uses the .NET 3.5 speech API and trying to run under Vista 64.  I have installed 32 bit voices and they show up in the 32 Bit Control panel applet and word fine.  However, when I use the .NET function GetInstalledVoices, it only returns the 64 bit voices.

有什么想法吗?

谢谢

Peter

推荐答案

.NET应用程序默认情况下将以本机CPU类型运行,因此您的应用程序将在64位OS上为x64 .如果需要32位,则应将cpu类型从Any更改为x86.
A .NET application will run in the native CPU type by default, so your application will be x64 on a 64 bit OS. If you need it to be 32 bit, you should change the cpu type from Any to x86.


这篇关于Vista 64上的SAPI和.NET 3.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆