Skip to content

Bugfix (ext/com_dotnet): Added VT_ARRAY, VT_BYREF, VT_PTR functionality #7628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

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