是否有 x64 版本的 MsStkPrp.dll [英] Is there a x64 version of MsStkPrp.dll

查看:27
本文介绍了是否有 x64 版本的 MsStkPrp.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将 ATL 控件移植到 64 位.该控件在其属性对话框中使用 Stock 属性页(CLSID_StockFontPage、CLSID_StockColorPage).

I'm porting an ATL control to 64-bit. The control uses the Stock Property pages (CLSID_StockFontPage, CLSID_StockColorPage) in its properties dialog.

针对 x64 重新编译后,颜色和字体选项卡丢失(因为 MsStkPrp.dll 是 32 位).是否有 64 位版本的 dll 或者是否有更好的方法在 ATL ActiveX 控件中实现字体和颜色?

After recompiling for x64, the Color and Font tabs are missing (because MsStkPrp.dll is 32-bit). Is there a 64-bit version of the dll or is there a better way to implement fonts and colors in an ATL ActiveX control?

推荐答案

即使是 32 位版本的 msstkprp.dll 也不存在于 Windows 10 中,所以我从我的 Windows XP 虚拟机 (%WINDIR%System32msstkprp.dll) 到一个目录.然后你可以通过启动管理提示成功注册它,切换到那个目录,然后输入

Even the 32-bits version of msstkprp.dll isn't present in Windows 10, so I copied it from my Windows XP virtual machine (%WINDIR%System32msstkprp.dll) to a directory. Then you can succesfully register it by starting an Administrative Prompt, change to that directory, and type

regsvr32 msstkprp.dll

这篇关于是否有 x64 版本的 MsStkPrp.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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