Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP and COM Servers
Message
 
À
17/11/1999 15:56:07
Jean Gagné
Bergeron & Trudel Inc.
St-Albert, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00292103
Message ID:
00292105
Vues:
22
I believe that VFP 5.0 had a problem passing parameters to com objects. Something about not being able to read the type library sticks in mind. My understanding is that this issue has been fixed in VFP 6.0/SP3.



>Hi everyone !
>
>I'm using VFP 5.0 (we should soon update to 6.0) with Windows 98 SE.
>
>I'm trying to use a COM server which requires me to pass an
>interface as a parameter to a method.
>
>Here is the VFP code :
>
> m.oAcomba = createobject("AcoX0111.AcombaX")
> m.oCharterKey = createobject("AcoX0111.CharterKey")
> m.nError = m.oAcomba.FirstKey(@m.oCharterKey, 1)
>
>When line 3 is executed, VFP crashes with the message 'VFP executed
>an invalid instruction in module OLEAUT32.DLL'
>
>Is VFP suppose to be able to pass an interface as parameter to a
>COM Server method ?
>
>Would upgrading to VFP 6 solve the problem ?
>
>Johnny
Michael P. Antonovich, MCSD
Email: mike@micmin.com
MicMin Associates - Orlando, FL


Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform