Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing array to VB6
Message
De
03/07/2014 02:42:57
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
 
 
À
02/07/2014 13:05:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP3
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01603115
Message ID:
01603164
Vues:
58
>Hi,
>
>Trying to make some changes to a 15 year old app :-{
>
>I have a VB6 OCX control exposing a method that should take a string array as follows:
Public Sub SetData(vArray As Variant)
>'etc.
>End Sub
and have tried just about every combination from VFP that I can think of. Currently:
COMARRAY(THIS.oref,10)
>=ACOPY(THIS.RDICalculator.Result,result)
>THIS.oref.SetData(@result)
which gives error 2020 (which doesn't make sense to me). Any suggestions ?

nothing directly - I'd browse Westwind, as Rick went quite a bit into COM jungle with a vfp POV.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform