Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a x64 version of 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?

like image 482
Joe Zimmerman Avatar asked Sep 05 '25 13:09

Joe Zimmerman


1 Answers

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
like image 81
hfmanson Avatar answered Sep 11 '25 05:09

hfmanson