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!
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!