Juno-Windows-Class-Library icon indicating copy to clipboard operation
Juno-Windows-Class-Library copied to clipboard

.from? Where

Open taylorh140 opened this issue 9 years ago • 2 comments

I seem to have found a mystery method.

no property from for type SAFEARRAY

https://github.com/JesseKPhillips/Juno-Windows-Class-Library/blob/master/juno/com/core.d#L1273

taylorh140 avatar Sep 17 '15 16:09 taylorh140

I'm not sure where it is located, but it may be in juno.base.core or juno.base.native. Look for a function 'from' that takes a SAFEARRAY.

JesseKPhillips avatar Oct 08 '15 16:10 JesseKPhillips

I have changed mine to else

static if (isArray!(T)) parray = SAFEARRAY.opCall(value);

It seems to work. maybe there is a from function somewhere. but i couldn't find it with a git search.

taylorh140 avatar Oct 09 '15 14:10 taylorh140