dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.7k stars 1.06k forks source link

AXIMP doesn't work correctly with ActiverX exe servers #26190

Open magres opened 2 years ago

magres commented 2 years ago

Describe the bug

ActiveX exe server is built using Qt (ActiverQt), succesfully registred, succesfully shown in InternetExplorer with <object> tag. aximp.exe myserver.exe generates all the necessary DLLs which are imported by my Windows Forms test software. But in runtime the exception "Class is not registred" is thrown.

But everything's OK when the control is built as a DLL with all the steps above.

To Reproduce

Build the ActiveX exe server, and try to embed it to Windows Forms application.

Exceptions (if any)

Further technical details

Visual Studio 2019 Community Edition MicrosoftSDKs/Windows v10.0a (v7.0a as well)

richlander commented 2 years ago

Are you using .NET Framework or .NET Core?

AFAIK, that scenario only worked with .NET Framework and Internet Explorer. I also thought we cut support for it quite a while ago. In any case, Internet Explorer is no longer supported by Microsoft. If you want a rich experience in the browser, I'd suggest Blazor.