Delphi [weak] reference attribute produces "Invalid class typecast" when implementation is in a separate library
Delphi [weak] reference attribute produces "Invalid class typecast" when implementation is in more than one library