在Windows Phone中的VOIP聊天应用程序中运行其他C ++ rumtime组件 [英] Running additional C++ rumtime component in VOIP chatter app in window phone

查看:99
本文介绍了在Windows Phone中的VOIP聊天应用程序中运行其他C ++ rumtime组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想将c ++ Runtime组件添加到后台项目的聊天室应用窗口手机中。所以我将C ++运行时组件添加到项目中并将其引用到后端项目,然后尝试从后端项目中调用添加的
运行时组件的函数,但我得到的错误如::


错误MIDL1001:无法打开输入文件SocketRuntimeComponent1.idl


错误
15
错误MSB3073:命令"pushd"D:\ backup folder \ Revesoft \Desktop \ofc\project \New folder(2)\ChatterBox \C#,C ++ \\\\\\\\\\\\\\\\\\\\ line-height:1.5"> WinMdIdl.exe
" D:\ backup folder \ Revesoft \\ Desktop \ofc\project \New folder(2)\ChatterBox \C#,C ++ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\大小:0.75em; line-height:1.5"> MIdl.exe / env arm32 / winrt / ns_prefix / metadata_dir" C:\Program
Files(x86)\ Windows Phone Kits \8.0 \ WindowsWindows Metadata" / out" ; D:\ backup folder \ Revesoft \Desktop \ofc\project \New folder(2)\ChatterBox \C#,C ++ \ BackEndProxyStub"" D:\ backup folder \ Revesoft \\ \\Desktop\ofc\project \New文件夹(2)\ChatterBox \C#,C ++ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ -size:0.75em; line-height:1.5"> MIdl.exe
/ env arm32 / winrt / ns_prefix / metadata_dir" C:\Program Files(x86)\ Windows Phone Kits \8.0 \ WindowsWindows Metadata" / out" ; D:\ backup folder \ Revesoft \Desktop \ofc\project \New folder(2)\ChatterBox \C#,C ++ \ BackEndProxyStub"" D:\ backup folder \ Revesoft \\ \\Desktop\ofc\project \New
folder(2)\ChatterBox \ C#,C ++ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\ " D:\ backup folder \ Revesoft \Desktop \ofc\project \New folder(2)\ChatterBox \ C#,C ++ \BackEnd \OopServerRegistrationHelper.exe" ;
/ winmd:" D:\ backup folder \ Revesoft \Desktop\ofc\project \New folder(2)\ChatterBox \C#,C ++ \\\\\\\\\\ \\ BackEnd\PhoneVoIPApp.BackEnd.winmd" /dll_name:PhoneVoIPApp.BackEnd /namespace:PhoneVoIPApp.BackEnd.OutOfProcess / app_manifest:" D:\ backup
folder \ Revesoft \Desktop\ofc \ project \New folder(2)\ChatterBox \C#,C ++ \UI\Properties\WMAppManifest.xml" / helper_dir:\"D: \backup folder\Revesoft\Desktop\ofc\ project \New文件夹(2)\ChatterBox \C#,C ++ \Agents"
popd :VCEnd"
退出,代码为-1。

C:\Program Files(x86)\ MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets
204
5
BackEnd



任何人都可以建议为什么这可能是hapening并建议任何纠正 代码。


谢谢,



 




rrnjn145

解决方案

>错误MIDL1001:无法打开输入文件SocketRuntimeComponent1.idl


看起来它与MIDL编译器错误有关,也许这篇文章很有用:  http://dovetailsoftware.com/clarify/kmiller/2010/03/22/correcting-a-midl-compiler-error-midl1001-cannot -open输入文件/


hi ,

I want to add the c++ Runtime component to chatterbox app window phone  to the backend project . so I added the C++ runtime component to the project and referenced this to the backend project then tried calling the function of the added runtime component from the backend project but i am get error like ::

error MIDL1001: cannot open input file SocketRuntimeComponent1.idl

Error 15 error MSB3073: The command "pushd "D:\backup folder\Revesoft\Desktop\ofc\project\New folder (2)\ChatterBox\C#,C++\ARM\Release\BackEnd\"WinMdIdl.exe "D:\backup folder\Revesoft\Desktop\ofc\project\New folder (2)\ChatterBox\C#,C++\ARM\Release\BackEnd\PhoneVoIPApp.BackEnd.winmd"MIdl.exe /env arm32 /winrt /ns_prefix /metadata_dir "C:\Program Files (x86)\Windows Phone Kits\8.0\Windows Metadata" /out "D:\backup folder\Revesoft\Desktop\ofc\project\New folder (2)\ChatterBox\C#,C++\BackEndProxyStub" "D:\backup folder\Revesoft\Desktop\ofc\project\New folder (2)\ChatterBox\C#,C++\ARM\Release\BackEnd\PhoneVoIPApp.BackEnd.idl"MIdl.exe /env arm32 /winrt /ns_prefix /metadata_dir "C:\Program Files (x86)\Windows Phone Kits\8.0\Windows Metadata" /out "D:\backup folder\Revesoft\Desktop\ofc\project\New folder (2)\ChatterBox\C#,C++\BackEndProxyStub" "D:\backup folder\Revesoft\Desktop\ofc\project\New folder (2)\ChatterBox\C#,C++\ARM\Release\BackEnd\PhoneVoIPApp.BackEnd.OutOfProcess.idl""D:\backup folder\Revesoft\Desktop\ofc\project\New folder (2)\ChatterBox\C#,C++\BackEnd\OopServerRegistrationHelper.exe" /winmd:"D:\backup folder\Revesoft\Desktop\ofc\project\New folder (2)\ChatterBox\C#,C++\ARM\Release\BackEnd\PhoneVoIPApp.BackEnd.winmd" /dll_name:PhoneVoIPApp.BackEnd /namespace:PhoneVoIPApp.BackEnd.OutOfProcess /app_manifest:"D:\backup folder\Revesoft\Desktop\ofc\project\New folder (2)\ChatterBox\C#,C++\UI\Properties\WMAppManifest.xml" /helper_dir:"D:\backup folder\Revesoft\Desktop\ofc\project\New folder (2)\ChatterBox\C#,C++\Agents"popd:VCEnd" exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 204 5 BackEnd

can anyone suggests why this can be hapening and suggest any rectification to  the code .

Thanks,

 


rrnjn145

解决方案

>error MIDL1001: cannot open input file SocketRuntimeComponent1.idl

Looks like it is related to MIDL compiler error, maybe this article is helpful: http://dovetailsoftware.com/clarify/kmiller/2010/03/22/correcting-a-midl-compiler-error-midl1001-cannot-open-input-file/


这篇关于在Windows Phone中的VOIP聊天应用程序中运行其他C ++ rumtime组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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