>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