[Lazarus] How to cast a Interface to a Object in Lazaeus

Michael Van Canneyt michael at freepascal.org
Fri Mar 13 10:47:27 CET 2015



On Fri, 13 Mar 2015, aradeonas wrote:

> Thank you for explaining,My email serves close all quotes and for this I didn't understand this problem until you said.Thank you.
>  
> About question you mean make a File class with name,size,artist,width and all others in one place?If this I didn't like it,It seem messy,I want to get file,cast it to video (if it
> is TVideoFile) and then work with it,It also prevent mistakes.

That is as you prefer... 
My motto is KISS.

Michael.


More information about the Lazarus mailing list