Re: VBScript OCX receive and supply a safeArray of type VT_UI1- problem

JJ <[email protected]>
Newsgroups alt.comp.os.windows-xp,alt.windows7.general,comp.os.ms-windows.programmer.win32
Organization To protect and to server
Message-ID <[email protected]>
On Wed, 22 May 2024 17:52:14 +0200, R.Wieser wrote:
> 
> (not using an intermediate variable I mean) *does* work.  How ?  Why ? No 
> idea.

VBScript is a stripped down version of Visual Basic (VB). Some VB features
are removed in VBScript. Unlike VBA which still retain almost all VB
features. VBA doesn't have any problem with your case of code (tested in
Excel VBA with ADODB.Stream's array of byte - same problematic variant
type).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.