问题描述
我基本上是Java程序员,刚接触点网环境.在完成此任务之前,我将能够使用Java方面的知识来应对这些问题.但是,此任务需要dotnet上的强制性技能.
任务是,我必须在Windows操作系统中激活AEC功能.我的项目在C#中.我在许多论坛上获得的代码段仅是C ++.我考虑过从C ++运行代码,将其制作成dll,然后在我的C#项目中使用它.在运行代码段时,每一步我都遇到问题.
1)一些结构未在DSound.h中定义,因此我下载了新版本的DSound.h,其中所有定义
2)它与DSound.lib不匹配,因此我下载了最新版本的DSound.lib并附加了它.仍然出现以下错误,我无法解决它:
错误LNK2001:无法解析的外部符号_GUID_DSCFX_MS_AEC
3)我试图使代码直接在C#项目中工作并尝试使用DSound.dll .但是许多结构(即_DSCBUFFEREDESC)都有定义,但其中不包含任何成员.
4)我尝试遵循另一种技术,尝试从SDK 7.0运行AECMicArray.但是我发现它只能在Vista和更高版本上使用.我需要在XP和Vista上运行我的实现.
我知道,一次倒很多问题不是很好,但是我没有选择.请帮助我,我该如何进行.
I am basically a Java programmer, new to dot net environment. Until this task, I am able to cope up with the things with what the knowledge I have on Java. But this task need compulsory skills on dotnet.
The task is, I have to activate the AEC feature in windows Operating System. My project is in C#. The code pieces I got in many forums is in C++ only. I thought of running the code from C++, make dll out of it and use it in my C# project. While running the code piece, at every step I am facing problems.
1) Some of the structures are not defined in DSound.h, so I have downloaded new version of DSound.h where all the definitions are available.
2) It is not matching with the DSound.lib, so I have downloaded latest version of DSound.lib and attached it. Still it is giving following error, I am not able to resolve it:
error LNK2001: unresolved external symbol _GUID_DSCFX_MS_AEC
3) I tried to make the code work directly in C# project and tried to use DSound.dll. But many structures (ie _DSCBUFFEREDESC) have definition, but doesn't contain any members out of it.
4) I tried to follow a different technique, try to run AECMicArray from SDK 7.0. But I found that it will work only Vista and later versions. I need my implementation to work on XP and Vista.
I know, its not good to pour these many questions at once, But I don't have option. Please help me, how I can proceed.
推荐答案
谢谢您的发帖!我建议您将您的问题发布到论坛上
Thank you for your post! I would suggest please post your question in the forum
Visual C#开发人员中心 > Visual C#论坛 > Visual C#语言
Visual C# Developer Center > Visual C# Forums > Visual C# Language
位于此处: http://social.msdn.microsoft.com/Forums /en-US/csharplanguage/threads
located here: http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/threads
祝你有美好的一天!!!!!
Have a great day!!!!!
这篇关于来自C#的AEC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!