Christoph M. Becker
56804e3221
Fix GH-8750: Can not create VT_ERROR variant type
...
We add support for creating `VT_ERROR` variants via `__construct()`,
and allow casting to int via `variant_cast()` and `variant_set_type()`.
We do not, however, allow type conversion by other means, to avoid
otherwise easily introduced type confusion. VB(A) also only allows
explicit type conversion.
We also introduce `DISP_E_PARAMNOTFOUND` which might be the most
important `scode` for this purpose, since this allows to skip optional
parameters in method calls.
Closes GH-8886.
2022-07-12 16:43:14 +02:00
..
2022-06-17 14:12:53 +02:00
2022-06-25 07:40:19 +01:00
2022-06-13 08:55:54 -04:00
2022-07-12 16:43:14 +02:00
2021-12-20 18:12:35 +00:00
2022-06-26 01:00:19 +02:00
2022-06-25 17:53:33 +01:00
2022-07-04 10:50:32 +01:00
2022-06-17 16:33:20 +02:00
2022-07-08 14:47:46 +02:00
2022-06-13 08:55:54 -04:00
2022-06-13 08:55:54 -04:00
2022-06-26 01:00:19 +02:00
2022-07-05 00:59:43 -06:00
2022-07-08 14:47:46 +02:00
2022-07-12 12:43:44 +02:00
2022-06-29 14:04:40 +02:00
2022-06-26 01:00:19 +02:00
2022-07-12 12:43:44 +02:00
2022-07-08 14:47:46 +02:00
2022-07-12 12:43:44 +02:00
2022-07-06 18:12:19 +01:00
2022-07-08 14:47:46 +02:00
2022-07-12 12:43:44 +02:00
2022-06-13 08:55:54 -04:00
2022-07-08 14:47:46 +02:00
2022-07-12 12:43:44 +02:00
2022-06-10 12:45:30 -04:00
2022-07-12 12:43:44 +02:00
2022-07-12 12:43:44 +02:00
2022-07-08 11:30:23 +01:00
2022-07-12 12:43:44 +02:00
2022-07-11 13:45:42 +01:00
2022-07-11 19:45:46 +02:00
2022-07-12 12:43:44 +02:00
2021-12-15 08:38:35 -05:00
2022-07-12 11:57:25 +02:00
2022-06-09 13:42:45 +02:00
2022-06-13 14:44:49 +02:00
2022-06-09 13:29:20 +01:00
2021-11-26 14:10:11 +01:00
2022-06-06 12:21:25 +02:00
2022-06-23 14:41:24 +01:00
2022-07-08 11:30:23 +01:00
2022-07-08 14:47:46 +02:00
2022-06-26 01:00:19 +02:00
2022-05-23 21:57:31 +01:00
2022-07-08 14:47:46 +02:00
2022-07-10 20:06:52 +01:00
2022-07-12 12:43:44 +02:00
2022-07-08 14:47:46 +02:00
2022-04-11 17:08:48 +02:00
2022-07-12 12:43:44 +02:00
2022-05-16 14:47:02 +02:00
2022-06-26 01:00:19 +02:00
2022-06-12 10:56:35 +02:00
2022-03-13 13:48:21 +00:00
2022-05-22 16:06:27 +01:00
2022-07-12 15:22:49 +02:00
2022-07-12 12:43:44 +02:00
2022-06-25 07:40:19 +01:00