Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Again with winsock
Message
De
19/07/2009 15:19:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01411849
Message ID:
01413276
Vues:
59
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
>>>
>>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform