Changes between Initial Version and Version 1 of Ticket #213, comment 4
- Timestamp:
- 2024-06-25 16:15:30 (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #213, comment 4
initial v1 8 8 - Michael has no strong preference 9 9 - Jasper mildly prefers VARIANT over SAFEARRAY arguments 10 4. For enum the suggested solution is to mark all enums as v1_enum as here [url]https://learn.microsoft.com/en-us/cpp/windows/attributes/v1-enum?view=msvc-170&viewFallbackFrom=vs-2017 [/url], then use strong enum typing, and 32-sized value marshaling. Without this flag, the size of enum is system dependent and unknown to COBIA which makes marshaling hard [url]https://learn.microsoft.com/en-us/windows/win32/midl/enum[/url]10 4. For enum the suggested solution is to mark all enums as v1_enum as here [url]https://learn.microsoft.com/en-us/cpp/windows/attributes/v1-enum?view=msvc-170&viewFallbackFrom=vs-2017, then use strong enum typing, and 32-sized value marshaling. Without this flag, the size of enum is system dependent and unknown to COBIA which makes marshaling hard [url]https://learn.microsoft.com/en-us/windows/win32/midl/enum 11 11 12 12 for (1) and (2) no changes are needed. If (3) is VARIANT, no changed are needed.