C++ Object in WPF

Posted on 2012-08-16
Last Modified: 2012-08-28
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();


Open in new window

How to make this in a WPF C# app?

Question by:Ocrana
    1 Comment
    LVL 86

    Accepted Solution

    MSDN outlines a few ways at ("WPF and Win32 Interoperation"). You might also find ("C++ and WPF") interesting.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
    Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
    The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
    The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now