Skip to content

Conversation

DmitryMaksimov
Copy link
Contributor

@DmitryMaksimov DmitryMaksimov commented Nov 6, 2021

Now you can use:

new Variant([123, "32", 12.5], VT_ARRAY | VT_I4); //Here is we got safearray and VARIANT (type=VT_ARRAY | VT_I4)
$vtI4 = new Variant(123, VT_I4);
new Variant($vtI4, VT_BYREF);// => type = VT_BYREF | VT_I4;
new Variant($vtI4, VT_BYREF | VT_VARIANT);// => type = VT_BYREF | VT_VARIANT;
new Variant($vtI4, VT_PTR);// => type = VT_PTR and point to VARIANTTAG structure
new Variant($vtI4, VT_BYREF | VT_PTR);// => type = VT_PTR and point to variable of VARIANTTAG structure

@DmitryMaksimov DmitryMaksimov marked this pull request as ready for review November 7, 2021 06:16
@DmitryMaksimov DmitryMaksimov changed the title Feature (ext/com_dotnet): Added VT_ARRAY, VT_BYREF, VT_PTR functionality Bugfix (ext/com_dotnet): Added VT_ARRAY, VT_BYREF, VT_PTR functionality Nov 17, 2021
@DmitryMaksimov
Copy link
Contributor Author

Please, I need this modifications in your feuture versions.

@Girgias
Copy link
Member

Girgias commented Feb 5, 2023

@DmitryMaksimov can you rebase on latest master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants