Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mswinsck.ocx don't work (for me).
Message
De
20/03/1999 04:23:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00199637
Message ID:
00200106
Vues:
10
Hi, Pavel

>From telnet.exe it works. (Address 10.1.220.1 or 127.0.0.1, port 2001)
>From second form, no.

I've looked through your code and found what's not correct.
Unlike FoxPro classes ActiveXes can have methods and events with the same name.
VFP6 gives us a possibility to use both methods and events. It "adds" the "object" property to the OLE object sintax. MSWinsock.Winsock have both Connect method (we invoke it in order to initiate a connection) and Connect event (it fires when connection is established). So, inside VFP yourtcpobject.Connect means "run code placed in Connect event". And yourtcpobject.object.Connect means "invoke Connect method".

So, it's anoter reason to upgrade, isn't it?
Virtually yours, Dmitry

mailto: me@duginov.com * www.duginov.com * ICQ UIN 6769428
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform