1
Automation Interface, Add-Ins and Tools / Re: EA 16.1 64 Bit Touble with "AddWindow" Method
« on: September 18, 2024, 06:01:26 pm »
We figured it out 
The hint with the registration of Control class itself was the correct one - thanks Geert!
Just to give others a idea if they read the post:
There were two problems:
1. Instead of making all classes COM visible (Project Properties --> Application --> Assembly Information --> Make assembly COM-Visible) we decided to make this explicitly in the code by adding
2. After doing this and redoing this cracy reg-file creation and patching it, the Control class was part of the registry file --> And therefore obviously registered
And... it worked
Many thanks for the help Geert

The hint with the registration of Control class itself was the correct one - thanks Geert!
Just to give others a idea if they read the post:
There were two problems:
1. Instead of making all classes COM visible (Project Properties --> Application --> Assembly Information --> Make assembly COM-Visible) we decided to make this explicitly in the code by adding
Code: [Select]
[ComVisible(true)]
on top of the addins main class -> Well... should've been obvious to do the same for Control Class 
2. After doing this and redoing this cracy reg-file creation and patching it, the Control class was part of the registry file --> And therefore obviously registered
And... it worked

Many thanks for the help Geert