cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
hossamamer7
Contributor

Use Wpf window with Archicad 27 addon

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

1 Solution

Accepted Solutions
hossamamer7
Contributor

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


Go to post

1 Reply 1
hossamamer7
Contributor

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


Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!