?
=?ISO-8859-1?Q?Ney_Andr=E9_de_Mello_Zunino?=
Hello.
I am developing a project in managed C++ for the first time. Things were
going fine up until the point I had the need to mix managed and
non-managed code. More specifically, what I am trying to have is a
MVC-like scheme, where the view is implemented using Windows Forms and
the model is composed of a bunch of previously-written non-managed C++
classes. That implies that the view (managed entity) will hold a
reference to the model (non-managed entity) and vice-versa, which the
compiler doesn't seem to like. What is the workaround for that? Must I
make all my model classes managed ones? What if that were not an option?
Besides being a Visual C++ .NET newbie, I have been programming for the
last 10 hours and could easily be missing something very basic, so
please bear with me.
Thank you very much,
I am developing a project in managed C++ for the first time. Things were
going fine up until the point I had the need to mix managed and
non-managed code. More specifically, what I am trying to have is a
MVC-like scheme, where the view is implemented using Windows Forms and
the model is composed of a bunch of previously-written non-managed C++
classes. That implies that the view (managed entity) will hold a
reference to the model (non-managed entity) and vice-versa, which the
compiler doesn't seem to like. What is the workaround for that? Must I
make all my model classes managed ones? What if that were not an option?
Besides being a Visual C++ .NET newbie, I have been programming for the
last 10 hours and could easily be missing something very basic, so
please bear with me.
Thank you very much,