Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
| Search | Today's Posts | Mark Forums Read
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 26th, 2007, 12:35 AM
Registered User
 
Join Date: Sep 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tip:returning arrays from COM to JScript

http://groups.google.com/group/micro...160e9d46d49c3e

On Apr 28 2001, 6:06 am, "Michael Harris" <mik...@mvps.org> wrote:

> "...So there is no way to transparentlyreturnanarrayinJScript?..."

> To be "JScript-friendly", you have toreturn*everything" via a >functionreturnvalue. And as I
> said before,JScriptcan handle a SAFEARRAY by converting it with VBArray() >since aJScriptarray
> isn't really anarraybut rather a special (IDispatch[Ex] based)JScriptobject with >numeric
> properties.

JScript takes array[0][1] as array.0.1


Similar Threads
Thread Thread Starter Forum Replies Last Post
tool tip in xsl vighna XSLT 2 August 31st, 2007 03:58 PM
Tool Tip MunishBhatia ASP.NET 2.0 Professional 2 May 11th, 2007 05:39 PM
programming tip needed davidpv Linux 3 November 26th, 2004 12:36 PM
Multidemmesional Arrays OR arrays gmoney060 Classic ASP Basics 3 November 1st, 2004 03:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.