Mixing managed/unmanaged C++ callback

  • Thread starter Thread starter DD
  • Start date Start date
D

DD

I'm puzzled how to mix managed/unmanaged C++ in the following scenario:

Unmanaged
------------
Callback listener class with method that should call an event in managed
Form1.
Initialization code for the listener that launches the listener thread.

Managed
----------
Windows form application with a custom event handler.

I believe this can be broken down into three parts:

1) How to call the managed code event in Form1 from unmanaged C++.
2) How to access Form1 (since it is an instance of a Form).
3) How to initialize the unmanaged callback listener from within Form1.

Thanks!
 
I'm puzzled how to mix managed/unmanaged C++ in the following scenario:I am also wondering how to do this.
I tried this a few years ago but so far I have never been able to make it
work.
I cannot imagine that it is not somehow thought through by Microsoft.
 
I could send you a VS.NET solution containing projects that demonstrate this,
using C# and C++.
Let me know if you are interested.

-Clift Norris
 
I could send you a VS.NET solution containing projects that demonstrate this,
using C# and C++.
Let me know if you are interested.

-Clift Norris

Personally I would LOVE to see some samples of this. Would you
mind emailing them to me? My email is:

account: scarleton
At the domain of: miltonstreet.com

Thanks!
 
I could send you a VS.NET solution containing projects that demonstrate
this,
using C# and C++.
Let me know if you are interested.

-Clift Norris
Oops I have not been online for some time, I am still interested in samples
for this.
You could email this to this email address. Many thanks. :-)
 
Clift said:
*I could send you a VS.NET solution containing projects tha
demonstrate this,
using C# and C++.
Let me know if you are interested.

-Clift Norris
[/vbcol] *

I would also be very interested in this :)

(e-mail address removed)


-
ghgd
 
Hi

I'd also be very interested in seeing the sample project.
My email is: (e-mail address removed)

Thanks!
 
Back
Top