如何将IMsRdpClientTransportSettings4添加到MFC应用程序 – 是否有TypeLib?

huangapple go评论53阅读模式
英文:

How do you add IMsRdpClientTransportSettings4 to MFC application - Is there a TypeLib?

问题

我想将IMsRdpClientTransportSettings4接口添加到一个MFC应用程序中。要添加IMsRdpClientAdvancedSettings8接口,我使用了Visual Studio的项目菜单/添加新项目,然后选择了MFC类别/MFC类型库中的MFC类,并选择了Microsoft Terminal Services Active Client(我是根据教程操作的 - 我不会猜到这个名称与高级设置有关)。

是否存在用于添加IMsRdpClientTransportSettings4的类型库?如果没有,如何手动进行操作?

提前致谢!

英文:

I want to add IMsRdpClientTransportSettings4 inteface to an MFC application. To add the IMsRdpClientAdvancedSettings8 interface I used the visual studio project menu / add new item then MFC category / MFC Class from TypeLib and chose Microsoft Terminal Services Active Client (I was following a tutorial - I wouldn't have guessed that name is associated with advanced settings).

Does a TypeLib exist for adding the IMsRdpClientTransportSettings4? If not, how do you do it manually?

TIA!!

答案1

得分: 1

requirements 部分在文档中将类型库列为 "MsTscAx.dll"

您可以通过在类似于 OLE/COM Object Viewer (oleview.exe) 的工具中打开此 DLL 来验证它是否包含类型库。

英文:

The requirements section in the documentation lists the type library as "MsTscAx.dll".

You can verify that this DLL contains a type library by opening it in a tool like OLE/COM Object Viewer (oleview.exe).

huangapple
  • 本文由 发表于 2023年6月6日 12:48:14
  • 转载请务必保留本文链接:https://go.coder-hub.com/76411516.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定