Subj : Exposing ObjectTextToBinary to DotNet through a DLL... To : borland.public.cpp.borlandcpp From : "Nathan Baulch" Date : Tue Sep 23 2003 07:00 pm I need to perform a VCL ObjectTextToBinary in DotNet. Initially I thought I'd just create a Win32 DLL and export a function that takes a char* and returns a char*. However, as we all know, streamed components are full of null characters. Then I thought maybe I could create an ActiveX DLL and return an ADODB.Stream filled with the binary data. Before I go to this trouble (I'm very inexperienced with writing DLLs), I just thought I would confirm that this is the best solution. Cheers, Nathan .