AS operator allowed on interfaces not derived form IUnknown (CORBA)
Original Reporter info from Mantis: Marc @mweustink
-
Reporter name: Marc Weustink
Original Reporter info from Mantis: Marc @mweustink
- Reporter name: Marc Weustink
Description:
The AS operator assumes an interface is derived from IUnknown and calls QueryInterface.
For COM interfaces this is true, for CORBA interfaces it is up to the developer.
The following program will crash.
Additional information:
Reporter: Marc Weustink
EMail: marc at freepascal dot org
Mantis conversion info:
- Mantis ID: 6796
- OS: Linux
- Fixed in version: 2.0.4
- Fixed in revision: 3646 (#d4848169)