Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem returning back a VB array...
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Problem returning back a VB array...
Miscellaneous
Thread ID:
00498067
Message ID:
00498067
Views:
29
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
Reply
Map
View

Click here to load this message in the networking platform