[AWS] Freeing allocated streams

Dmitriy Anisimkov anisimkov at ada-ru.org
Tue Dec 26 11:43:17 CET 2006


Pascal Obry wrote:

>For more complex interaction it is always possible to create a fine
>tuned stream by inheriting from AWS.Resources.Streams.Stream_Type.
>  
>
Right.

I was a bit wrong.
To deallocate any internal memory you should inherite from

AWS.Resources.Streams.Stream_Type
and override
procedure Close (Resource : in out Stream_Type) is abstract;

But if you need to publish images just from files, you definitely should use

just AWS.Response.File call.




More information about the AWS mailing list