HiGuidRegards Benny
You still need to give them a unique identifier in order for the as-cast to work - opposed to COM where it has to be a guid though it can be a simple string.
HiI just use the trick with const SGUIDIExample = 'xxx-x--xx-x-xx';It's so damn convenient with ctrl+shift+g, that I happily type the 1 extra line Regards Benny
Of course it is handy, but if one does not know, compiler does not tell a thing and you (me) spend a day seeing weird errors like I did.