locked
Displaying a Property Page using Microsoft.VisualStudio.OLE.Interop in 64bit RRS feed

  • Question

  • I am trying to create a custom property page using a C# .NET UserControl in 64-bit.  I am using ISpecifyPropertyPages and IPropertyPage from Microsoft.VisualStudio.OLE.Interop.

    The same UserControl that I run in 32-bit will display the property page, but when I run it in 64-bit it will not, although in both occurrences ISpecifyPropertyPages.GetPages is invoked. 

    I have been successful in getting custom property pages to work in C++ ATL ActiveX controls, both 32 and 64-bit, and 32-bit C# .NET UserControls, but not .NET 64-bit.

    According to another post I saw, Microsoft.VisualStudio.OLE.Interop will only work with 32-bit architecture because Visual Studio is 32-bit.

    My question is:  If the Interop assembly will not work in 64-bit, is there another way to get an IPropertyPage to display in .NET? 

    • Moved by CoolDadTx Thursday, April 13, 2017 1:55 PM Extensibility related
    Wednesday, April 12, 2017 4:30 PM

All replies