Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and COM Servers
Message
 
To
17/11/1999 15:56:07
Jean Gagné
Bergeron & Trudel Inc.
St-Albert, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00292103
Message ID:
00292105
Views:
23
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


Previous
Reply
Map
View

Click here to load this message in the networking platform