Quote Originally Posted by Frankincense View Post
#pragma managed(push, off) &
#pragma managed(pop)

[...]

So what do these lines actually do? :P
http://msdn.microsoft.com/en-us/library/0adb9zxe.aspx

The first just above all the crypto++ functions and the second just above the conversion functions.
So you mean you've written your own application code into the Crypto++ library source files? No good idea I'd say. If you actually even do need some of the library source files as part of your project, better leave them unmodified and turn off CLR support for these specific files in their project properties. Better yet, compile the library as a separate unmanaged project, as a static library or a DLL (I think I've seen on the Crypto++ pages that there's a DLL setup available).