C++ Object in WPF

Hello,
is it possible to use a C++ in an WPF app and create an object from it? As ample, this is used in C++ app:
MediaWnd * m_pPlayer;
m_pPlayer = NULL;	
m_pPlayer = new MediaWnd();
m_pPlayer->SetUsageMode(USAGE_PLAYER); 

m_pPlayer->CreateWnd(this->m_hWnd);
m_pPlayer->MoveWindow(rcConverter);

Open in new window


How to make this in a WPF C# app?

Ingo
OcranaAsked:
Who is Participating?
 
jkrConnect With a Mentor Commented:
MSDN outlines a few ways at http://msdn.microsoft.com/en-us/library/ms742522.aspx ("WPF and Win32 Interoperation"). You might also find http://social.msdn.microsoft.com/Forums/en/wpf/thread/c2e6bcc0-bfdd-4686-9e70-7b77d772839f ("C++ and WPF") interesting.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.