Changes between Initial Version and Version 1 of Ticket #213, comment 4


Ignore:
Timestamp:
2024-06-25 16:15:30 (3 months ago)
Author:
jasper
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #213, comment 4

    initial v1  
    88  - Michael has no strong preference 
    99  - 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] 
     104. 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 
    1111 
    1212for (1) and (2) no changes are needed. If (3) is VARIANT, no changed are needed.