Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with WinSock and EventHandler
Message
De
10/02/2003 08:36:54
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Problems with WinSock and EventHandler
Divers
Thread ID:
00751347
Message ID:
00751347
Vues:
54
Hi,

I am createing an serverapplication that will respond to messages from a client. This application is running as a com-object. I have been searching around for simular problems and only found problems with forms. There are an good example how to do this in the download section, but this is using BindEvents and UnBindEven - even though the docs says EventHandler is used.

I do not want to use a form to solve this problem, so I am using EventHandler (the new method in VFP7). The syntax for this metods is EventHandler(myComObject, myEventObject). myComObject is an object of the class MSWinSock.WinSock.1 and myEventObject is an own created object, in which I put the funcions I need for handling the incomming data correctly.

However, I cannot find the interface to implement with the event-object. Is there anyone who can help me with this problem? My event-object need to have an override on the methods DataArrival and ConnectionRequest.

Would be really happy for any help
--Tony Neldemo
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform