We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2024-07-29 03:22 PM
Hi folks,
I'm trying to open a wpf window with the addon I'm working on so I created .net framework class library which has a basic wpf window and I created C++/CLI project which has 2 classes which you will find in attached file
so when I call
WpfWrapperBridge::ShowWpfWindow(); in
MenuCommandHandler function the addon is not being detected and I do't find it in ArchiCAD as it's not existed at all but once I remove this call I can find the addon
can anyone help?
Thaks
Solved! Go to Solution.
2024-07-31 03:07 PM
Since this way didn't work with me, I tried another way which is using COM Interoperability by following steps in this link
Calling Managed .NET C# COM Objects from Unmanaged C++ Code - CodeProject
2024-07-31 03:07 PM
Since this way didn't work with me, I tried another way which is using COM Interoperability by following steps in this link
Calling Managed .NET C# COM Objects from Unmanaged C++ Code - CodeProject