[Mono-list] Sharing Streams between managed and unmanaged code

Matthew Metnetsky met at uberstats.com
Fri Apr 21 00:00:33 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

met at uberstats.com wrote:
> I have a relatively large C library that I do not want to reproduce in C#. Its
> core functionality (for better or worse) is based around reading/writing a very
> specific XML format. XML is created using libxml2's xmlWriter and parsed via
> libxml2's XmlReader like interface. My goal is to expose this functionality to
> .NET via streams.
> 
> Essentially, I would like to be able to write XML to a .NET stream (say asp.net
> response) as well as read XML (from an asp.net request) from unmanaged code.

What exactly is the purpose of IntPtrStream? I can't seem to find its
use anywhere. Anyway this (or something like it) could be used to gain
interop with native libraries for stream support?

~ Matthew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFESFjhLrcoBjlTBf0RAno+AJ0VULrTx/00hRF1NwEO+pJ2DxS06QCfS4hw
sWQtmgwskqalBP7qltFQ3Xc=
=lX2O
-----END PGP SIGNATURE-----


More information about the Mono-list mailing list