Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bindevent crashes Fox
Message
 
 
To
31/05/2005 12:14:29
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01018697
Message ID:
01018751
Views:
15
>>>I see.
>>>Do I also need something like this in my class:
>>
>>>poComReader = ''
>>>PROCEDURE INIT
>>>	This.poComReader = CREATEOBJECT('MSCOMMLib.MSComm')
>>>	WITH This.poComReader
>>>		.CommPort = 8
>>>		.Settings = "9600,N,8,1"
>>>		.InputLen = 1
>>>		.PortOpen = .T.
>>>	ENDWITH	
>>>	EVENTHANDLER(This.poComReader, This)
>>>ENDPROC
>>
I never used this ActiveX control so cannot tell which settings you would need to get it to work.
> I think my question was about EVENTHANDLER. Where do I put that line? In the class definition?

You may want to check http://fox.wikis.com/wc.dll?Wiki~MsComm32~VFP and http://fox.wikis.com/wc.dll?Wiki~ClassNotLicensedForUse~VFP
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform