是否有MsStkPrp.dll的x64版本 [英] Is there a x64 version of MsStkPrp.dll
问题描述
我要将ATL控件移植到64位。控件在其属性对话框中使用股票属性页面(CLSID_StockFontPage,CLSID_StockColorPage)。 32位)。是否有64位版本的dll,或者有更好的方法在ATL ActiveX控件中实现字体和颜色?
即使Windows 10中不存在msstkprp.dll的32位版本,所以我也将其从Windows XP虚拟机(%WINDIR%\System32\msstkprp.dll)复制到目录中。然后,您可以通过启动管理提示成功注册它,转到该目录,然后键入
regsvr32 msstkprp.dll
I'm porting an ATL control to 64-bit. The control uses the Stock Property pages (CLSID_StockFontPage, CLSID_StockColorPage) in its properties dialog.
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?
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%\System32\msstkprp.dll) to a directory. Then you can succesfully register it by starting an Administrative Prompt, change to that directory, and type
regsvr32 msstkprp.dll
这篇关于是否有MsStkPrp.dll的x64版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!