Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I can't do simple API Object stuff!!!
Message
From
12/03/2004 03:17:55
 
 
To
11/03/2004 16:16:38
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00885374
Message ID:
00885497
Views:
10
Hello,

should be


LOCAL dm916, AsiRESULT
dm916 = CREATEOBJECT('dm916port')
asiresult = 0

&& this is a rather unusual usage of a COM property since it's expects
&& actually 2 parameters, could be that VFP can't handle it ..
&& && if you have problems with this line .. try to use the GETINTERFACE() && and set the property over an interface "object"
dm916.CommPort(@AsiRESULT) = 2

IF AsiRESULT = 0
AsiRESULT = dm916.StartComm()
ENDIF


Regards

Christian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform