Board index » delphi » IStream - anybody having an example?
Luchian
![]() Delphi Developer |
Fri, 16 Mar 2001 03:00:00 GMT
|
Luchian
![]() Delphi Developer |
Fri, 16 Mar 2001 03:00:00 GMT
IStream - anybody having an example?
Hi all,
I am trying to use the IStream interface and I run in all sorts of issues - |
Stuart C. Naife
![]() Delphi Developer |
Sat, 17 Mar 2001 03:00:00 GMT
Re:IStream - anybody having an example?How and for what are you trying to use it? Stuart QuoteLuchian wrote in message <6uohim$jc...@forums.borland.com>... |
Adam Markowit
![]() Delphi Developer |
Sat, 17 Mar 2001 03:00:00 GMT
Re:IStream - anybody having an example?Kraig Brochschmidt's Inside OLE 2 has examples on IStream as well as a lot of other OLE Interfaces. -- Due to my workload, personal email more than likely won't get a Support options are detailed at http://www.inprise.com/devsupport/ QuoteStuart C. Naifeh wrote: |
Luchia
![]() Delphi Developer |
Sat, 17 Mar 2001 03:00:00 GMT
Re:IStream - anybody having an example?The client app needs a lot of information from the server (one or more records) - I am trying to send this as a bunch of bytes via an IStream interface (I hope this is doable...) QuoteStuart C. Naifeh wrote in message <6ur4kk$n...@forums.borland.com>... |
bly
![]() Delphi Developer |
Sat, 17 Mar 2001 03:00:00 GMT
Re:IStream - anybody having an example?Hello, You should be able to easily use the TStreamAdapter class (Classes.pas) to have fun, QuoteLuchian wrote in message <6urggi$nd...@forums.borland.com>... |
Luchia
![]() Delphi Developer |
Sun, 18 Mar 2001 03:00:00 GMT
Re:IStream - anybody having an example?I discovered TStreamAdapter too, - not too much documentation on it, or at least not enough for me, though. So far I created a couple of COM apps using the Delphi wizards - I don't know how I can use this class (TStreamAdapter) to build my own coclass - the wizard choices are limited (I believe to TAutoClass and another one...) Or better say, yes, I can build a descendant of the TStreamAdapter (TMyStream), which would use the TMemoryStream as the data storage TStream. At the other end (Client side) I would like to use TOLEStream to read this stream. How can I publish/register the TMyStream class? Then, to create an instance, so far I had the TLB file (the wizard provided me with) which contained the coclass create function, but now? Should I get down to COM api and use CoCreateInstance?! So far the wizard did that for me... Quotebly wrote in message <6us7g7$o8...@forums.borland.com>... |
bly
![]() Delphi Developer |
Mon, 19 Mar 2001 03:00:00 GMT
Re:IStream - anybody having an example?Hello, You don't need to make a COM-creatable object to use TStreamAdapter. type procedure TServerObject.GetData (out Stream : IUnknown); on client end: var All code is untested but you get the idea. have fun, QuoteLuchian wrote in message <6uu8kk$s...@forums.borland.com>... |
1. Still having Mouse juddrr problems - example unit enclosed
2. csdemos Example, having problem w/ interbase
3. Anybody have thunking example of D2 32bit App/16bit DLL (w/o having DLL source)?
4. Correct way to free IStream
5. Different version of ActiveX.IStream
7. IStream write TStream Buffer
8. IStorage/IStream/PropertySets
9. IStreams.dcu or lStreams.dcu can some one help me find this file