I added an ActiveX control into my MFC project that is set to x64. So i have to register the ActiveX to x64, too.
Now the problem is, when i want to open the dialog in Visual Studio 2017, i get an error that the ActiveX is not registered. I can open it if i register it to x32, but then i can't launch the window.
I think it is because VS is running in x32, but there is no x64 version.
A workaround could be to register it for x32 whenever i want to open the dialog, and back to x64 when running it, but that seems like a hassle.