问题描述
我是b $ b我创建了一个简单的WRL项目,它一切正常。
Hi,
I created a simple WRL project and it's all working fine.
我想知道代理的最佳选择是什么CLSID:
1.通过定义PROXY_CLSID_IS
我明白这在COM中是有意义的,但在WRL中没有,因为它没有在注册表上注册(我错了吗?)
I am wondering what is the best option for the proxy CLSID:
1. via defining PROXY_CLSID_IS
I understand that this does make sense in COM but not in WRL as it's not registered on the registry (am I wrong?)
2。保留默认值(不定义PROXY_CLSID_IS)
这将占用代理的第一个接口guid。
由于每次重新部署WinRT应用程序,这应该没有任何区别。
2. leaving the default (not defining PROXY_CLSID_IS)
this will take the first interface guid for the proxy.
As WinRT apps are redeployed each time, this should not make any difference.
如果有任何合理的理由选择1而不是2,那么来自MS的任何人都可以点我吗?
Can anyone from MS enlight me if there are any good reasons to pick 1 instead of 2?
PS我真正的问题是我正在为WRL创建一个项目模板,Visual Studio ProjectItem替换不能指定{0x ..,0x .. {...}}格式的Guids。
P.S. my real problem is that I am creating a project template for WRL and Visual Studio ProjectItem substitution cannot specify Guids in the {0x..,0x..{...}} format.
Raffaele Rialdi
博客: http://blogs.ugidotnet.org/raffaele
Microsoft MVP配置文件
https://mvp.support.microsoft.com/profile/raffaele
UGIdotNET -
Raffaele Rialdi http://www.iamraf.net
Weblog: http://blogs.ugidotnet.org/raffaele
Microsoft MVP profile https://mvp.support.microsoft.com/profile/raffaele
UGIdotNET - http://www.ugidotnet.org/
推荐答案
这篇关于[WRL]代理CLSID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!