All in the title really. I have a library, written in c++ and compiled into a dll. I would like to use this functionality in a c# program. Is it possible to use the classes/functions from the library straight from c#, would I need to write some wrapper code to use it in a managed environment? Can they be used in an unsafe context? Sorry if this is a silly question - I'm a c++ programmer trying to move over to c#.
p.s. the library is from a third party, so I cannot port it direct to c# even if I had the time.