Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Again with winsock
Message
From
19/07/2009 15:19:23
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01411849
Message ID:
01413276
Views:
60
Anyway declaring the form as OLEPUBLIC it works fine...

thank you again Sergey

>The problem was that the ofwsock variable was released prematurely.
>
>>Now it seems to run ok even on mine...maybe it was the OLEPUBLIC form which made the difference :)
>>i will let you know as soon as I understand if it was it :)
>>thank you
>>
>>
>>>It runs fine on my PC with sub-classed winsock under VFP9.
>>>Try to make oFwsock a property of the Pop3EmailClass class
>>>
>>>* Init
>>>This.ofwsock = CreateObject('fwsock')
>>>This.oSocket = This.oFwsock.sock.object
>>>...
>>>
>>>* Destroy
>>>This.oSocket = NULL
>>>This.ofwsock = NULL
>>>
>>>
Previous
Reply
Map
View

Click here to load this message in the networking platform