wrapping c# for use in c/c++?

  • Thread starter Thread starter ilPostino
  • Start date Start date
I

ilPostino

I'm forced to write an application in c/c++ but I need to use DataSets to
handle data.

This isn't actually data from a database but just from xml files. I was
thinking of putting the dataset stuff into c# and then calling functions to
access it from c++ / is this possible? or a bad idea!

I don't want to use managed c++ because I need to work with directx. I know
there are managed directx libs available but most resources on the net are
for c++.


any help would be awesome :D

-p
 
Hi,

No reason you can't use managed C++ for the dataset stuff and unmanaged for
the rest of it - this has the advantage of being able to all compile nicely
together. If you're writing most of the application in unmanaged C++ and are
just using .NET for the XML bits and pieces, there are loads of XML parsing
libraries around in old-school C++.

Steve
 
Back
Top