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

Click here to load this message in the networking platform