Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing/retrieve array to/from COM server
Message
 
 
À
24/10/2001 03:01:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00572459
Message ID:
00572571
Vues:
40
>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 with this error?

David,
I only found one (significant??) reference to this error. Take a look at MSKB#Q170752.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform