20 Dec
2007
20 Dec
'07
12:06 a.m.
Jason McGuidwin wrote:
I want to use the boost libraries with VS2005 and CLR option.
how did you do this? how do you do this?
I can get it to work without clr but I need to use managed and unmanaged code.
You create a mixed mode CLR module, using C++/CLI, where you can have both CLR constructs ( classes etc. ) and C++ standard constructs ( classes etc. ). In your C++ standard classes you can use Boost just as you normally would in standard C++. In your CLR class methods you can instantiate objects of standard C++ types, as well as your own types, and manipulate them. You can not, however, have an object of a standard C++ type as a member variable of a CLR class.