Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding to the MSMQEvent
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00312493
Message ID:
00313383
Vues:
29
>Have you been able to bind the MSMQEvent object to a custom VFP class?
>
>I looked at the article Using MSMQ w/ VFP 6.0 (http://msdn.microsoft.com/library/techart/MSMQWVFP6.htm) , which has sample code to bind the MSMQEvent, but the code doesn't seem to work properly. My custom method Arrived is only fired the first time I run the sample code and there must be a message to begin with. If I insert (from outside the sample code) a message the custom methods Arrived or ArrivedError never get fired.
>
>thanks
>oz

I don't really use the event binding since I'm always a little concerned about missing events. For this reason I'm having a polling mechanism in place (not terribly efficient as I have to admit, but bullet proof). I decided to wait for COM+ before I subscribe to the queue events.

Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform