i'm writing a custom app to pull things out of a Microsoft Exchange server. the HTML part of an email is stored in an RTFHTML format which is then stored in a compressed binary format. converting the RTFHTML to HTML was really easy, now the problem i need to figure out is how to convert the compressed stream to text (RTF.) everywhere i go everyone says to use the WrapCompressedRTFStream method, but that's only available to C++ programmers. there's info on the method here:

http://msdn.microsoft.com/library/de...drtfstream.asp

i guess what i would like to know is if it's possible to either access this function through VB in anyway, or if it's possible for someone to create a "wrapper" function that VB could pass through. they both sound like logical ideas, but since i have no clue as to how to do either one.

thanks for any help!