torhu: > writefln((cast(Object)thing).classinfo.name); It works, thank you very much. Now I'll try to use it for the original purposes...... I'll have to work some more. I'll show here the results if I finish. > This does look ugly, though. Well, better ugly than not having any way to solve the problem :-) Bye, bearophile