tunga wrote:
> Hi all,
>
> I am a newbie and I wonder whether I can use this library within C#...
> I mean is it possible to compile it with MS VC++ and then use it in
> C#... (is there a way to produce wrapper classes?)
>
>   

Yes, the same way you use any unmanaged C++ in C# -- create managed 
wrapper assembly around unmanaged C++ code. Managed C++ can link to 
unmanaged C++ libraries, and C# can load managed C++ assemblies. There 
are few tricks you need to do make sure CRT is initialized and managed 
strings properly converted over to unmanaged memory (you don't want GC 
to yank your string underneath you).

Best way is to reduce visibility of cryptopp code to C# as much as 
possible, so it puts some data in and gets some data out. So no fancy 
filter chains :(

Let me know if you need more details.

(But anyway, don't use C# -- C++ is much better :)).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to