Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem returning back a VB array...
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Problem returning back a VB array...
Divers
Thread ID:
00498067
Message ID:
00498067
Vues:
28
NOTE: My English is not perfect...

Hi,

I buil a VFP server DLL (with SP4). So i called it from VBA (in Word):

Dim srv as MiServer.MyObject
DIM aArray() as variant
DIM aParams(4) as variant
.
.
.

if srv.GetData("NameOfReport",aArray,aParams) then
.
.
.

Then aArray array is populate with XMLS strings inside my DLL, using aParams. I track the code inside (How? usinf STRTOFILE(...)) and this run..

But:

1- If declare aArray() or aArray as Variant, DLL Crahs or i get Error in line 1 (where LParameters is declared)
2- If declare aArray(1), aArray(1 to 1),aArray(0 to 1), etc..., nothing happend (Inside DLL code work, but not back data)

How do it?

THANKS...
The Life is Beautiful!

Programmer in
Delphi, VS.NET
MCP
Répondre
Fil
Voir

Click here to load this message in the networking platform