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
>>>
>>>