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