home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.comp.os.windows-xp      Actually wasn't too bad for a M$-OS      17,273 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 16,912 of 17,273   
   R.Wieser to All   
   Re: VBScript OCX receive and supply a sa   
   22 May 24 08:52:17   
   
   XPost: alt.windows7.general, comp.os.ms-windows.programmer.win32   
   From: address@is.invalid   
      
   Newyana2,   
      
   > What JJ said. VBS doesn't do datatypes.   
      
   I beg to differer.  Its Variants are wrappers that can contain a multitude   
   of different data types.   Hence the existence of "vartype".   
      
   > I typically use a character-delimited string that can be converted to   
   > array easily by the caller:   
      
   I could.  But as the MS documentation to SysAllocString contains a warning   
   about autoconversion on it I though it would be better not to use it.  It   
   would no doubt bite me in the behind when I could least use it. :-\   
      
   > If you want to return an array then you have to convert each array member   
   > individually.   
      
   While replying to JJ I realized that if the problem is the auto-conversion   
   of the SafeArray when its stored into a variant by VBScript I should try and   
   see what happens when I also provide a variant to method #1 so the SafeArray   
   can be stored into it - possibly bypassing the auto-conversion.   
      
   Regards,   
   Rudy Wieser   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca