[WRL]代理CLSID [英] [WRL] Proxy CLSID

查看:78
本文介绍了[WRL]代理CLSID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是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://www.iamraf.net

博客: http://blogs.ugidotnet.org/raffaele

Microsoft MVP配置文件
https://mvp.support.microsoft.com/profile/raffaele


UGIdotNET - http://www.ugidotnet.org/

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/

推荐答案

你好,

 

感谢您的反馈,我将邀请更多专家对其进行调查。

 

祝你好运,

Jesse
Hello,
 
Thanks for your feedback, I will involve more experts to investigate it.
 
Best regards,
Jesse


这篇关于[WRL]代理CLSID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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