Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing integer arrays to a COM server written in Visual
Message
De
18/12/2001 09:05:39
 
 
À
18/12/2001 06:20:45
Lloyd Grant
Meridian Legal Systems
Buxton, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00595515
Message ID:
00595554
Vues:
24
>Hi,
>
>I am coding a wrapper for an application called LaserForms and have come across a problem. The PrintForm() method of LaserForms requires an array of type integer to be passed to it. Each element of the array contains an integer that contains a page number. LaserForms then processes this integer array and prints each page.
>

I agree with Daniel, but I've had intermittent problems passing arrays to methods of VB COM interfaces. If Daniel's idea doesn't work, look at my FAQ entry on SafeArray constructors using the API, FAQ #7979, and try constructing a SafeArray in static memory, passing it's address to the VB COM server.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform