?
=?iso-8859-1?q?Erik_Wikstr=F6m?=
I'm working on a project where all the current code is written in
standard compliant C++ with no dependencies on any external libraries
except the standard library. The application is used to perform
simulations of thermal radiation and is highly performance sensitive
and as such we have no plans to rewrite it in managed C++. However we
want to add a graphical user interface to it and we are looking at
using the .Net framework to do so, probably using managed DirectX to
visualize the 3D models used in the simulations.
We have no prior experience with managed C++ so we are wondering what
would be the best approach to this, should we start a new project and
integrate our existing code together with managed code for the GUI and
compile some parts native and other managed. Or would it perhaps be
better to create a DLL/LIB of the existing code and make calls to it
from the GUI?
We don't expect a lot of interaction between the current code and the
GUI, mostly passing some values (ints, doubles), a list of pointers to
structs describing the model (std::vector<Cell*>) and perhaps perform
some callbacks for status/progress notifications.
All advice welcome, and if you happen to know of any good articles on
the subject please tell.
standard compliant C++ with no dependencies on any external libraries
except the standard library. The application is used to perform
simulations of thermal radiation and is highly performance sensitive
and as such we have no plans to rewrite it in managed C++. However we
want to add a graphical user interface to it and we are looking at
using the .Net framework to do so, probably using managed DirectX to
visualize the 3D models used in the simulations.
We have no prior experience with managed C++ so we are wondering what
would be the best approach to this, should we start a new project and
integrate our existing code together with managed code for the GUI and
compile some parts native and other managed. Or would it perhaps be
better to create a DLL/LIB of the existing code and make calls to it
from the GUI?
We don't expect a lot of interaction between the current code and the
GUI, mostly passing some values (ints, doubles), a list of pointers to
structs describing the model (std::vector<Cell*>) and perhaps perform
some callbacks for status/progress notifications.
All advice welcome, and if you happen to know of any good articles on
the subject please tell.