Exception on using OLE automation with variant arrays
Original Reporter info from Mantis: forest
-
Reporter name: Boguslaw Brandys
Original Reporter info from Mantis: forest
- Reporter name: Boguslaw Brandys
Description:
An unhandled exception occurred at $004184BF :
EVariantInvalidArgError : Invalid argument: Dispatch
$004184BF VARINVALIDARGERROR, line 4055 of E:/projekty/fpc/rtl/inc/variants.
pp
$004163B2 SYSVARARRAYGET, line 2586 of E:/projekty/fpc/rtl/inc/variants.pp
$0040973B fpc_vararray_get, line 80 of E:/projekty/fpc/rtl/inc/variant.inc
$004017CD main, line 23 of testcom1.pp
Steps to reproduce:
using testcom1 from fpc packages
Additional information:
It makes every COM automation useless
Mantis conversion info:
- Mantis ID: 17127
- OS: windows xp home
- OS Build: 32-bit
- Build: 2.5.1 [2010/08/01] for i386
- Platform: windows
- Fixed in version: 2.6.0
- Fixed in revision: 16864 (#71cce971)
- Monitored by: » forest (Boguslaw Brandys)