Soumya Pai
Soumya Pai

Reputation: 19

How to use WPF as dll in C++ application?

I created a C# WPF GUI and compiled it as a library. I have a c++/cli project. I want to use WPF dll in C++application in order to open the WPF window.

How do I do it?

Upvotes: 0

Views: 343

Answers (1)

Muhammad Umer Khan
Muhammad Umer Khan

Reputation: 73

Unfortunately, WPF library cannot be used in C++. Either you have to use WinForms or C++ own windows form as library. This link can help you but not sure either it will work or not.

enter link description here

Upvotes: 1

Related Questions