Use of olevariant causes EAccessViolation because variantmanager is not initialised
Original Reporter info from Mantis: ludob
-
Reporter name: Ludo Brands
Original Reporter info from Mantis: ludob
- Reporter name: Ludo Brands
Description:
Running attached program crashes in operator :=(const source : UnicodeString) dest : olevariant; because variantmanager is nil. Adding ActiveX to the uses list resolves the problem. If ActiveX, or any other unit providing a variantmanager, is needed to use olevariant then the compiler should produce an error.