Issue Details
I am casting a Front Panel Control to an XControl using the To More Specifc Class primitive in LabVIEW. When I build my code into a Packed Project Library (PPL) and run it from the PPL, the code returns the following error at run time:
Error 1057 occurred at To More Specific Class at an unidentified location
Possible reason(s):
LabVIEW: (Hex 0x421) Type mismatch: Object cannot be cast to the specified type.

This behavior only occurs when running the application from the PPL. The code appears to execute without error in the development environment.