问题描述
我想将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
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
Error15error 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.targets2045BackEnd
can anyone suggests why this can be hapening and suggest any rectification to the code .
Thanks,
rrnjn145
这篇关于在Windows Phone中的VOIP聊天应用程序中运行其他C ++ rumtime组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!