Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieve array from COM server
Message
 
 
To
25/10/2001 02:57:57
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00573046
Message ID:
00573476
Views:
21
Does it work if you create a DLL instead?

>Learning how to make a VFP7 COM server (EXE), I create a custom class acts as the server.
>The server class has a method named GETSTRU:
>PARAMETERS aTableStru
>USE \\myserver\public\data\Items NOUPDATE
>=AFIELDS( aTableStru)
>USE
>
>The Init method of client form contains:
>DIMENSION aTableStru[1]
>aTableStru= 'ANYTHING'
>COMARRAY( oServer,11)
>oServer.GetStru( @aTableStru) && oServer object is created on Load method
>CREATE CURSOR LocalTbl FROM ARRAY aTableStru
>...
>When I tried to run the form I got an error on line "oServer.GetStru...":
>OLE error code 0x80020010: Invalid calee
>
>Could anyone help me solve this problem?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform