Re: StateMachine Implementation

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,

for the first 2 problems check the Monitor2 class provided by the Smart
Device Framework 2.0 (www.opennetcf.org). For the third, check the
CfDelegate class from the cab port to WindowsCE
(http://go.microsoft.com/fwlink/?linkid=63928&clcid=0x409).


"Romain TAILLANDIER" <romaintaillandier@xxxxxxxxx> wrote in
news:1147973459.581587.285600@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:

Hi group

I need to implement a State Machine on WCE.
I have found an Excellent ressource from Leslie Sanford
http://www.codeproject.com/csharp/statemachinetoolkitparti.asp

So to move this Full Framework code to a compact one, i make a lot of
work.
I left 3 problems i can't solve in the DelegateQueue.cs file :

Monitor.Pulse
Monitor.Wait
Delegate.DynamicInvoke (in StateMachineToolKit.DelegateQueue.Invoke)

I don't need all that, but i have not enought knowledge in real time
to change/adapt that.
I just need some DelegateQueue as a simple FIFO wich invoke the
delegate one after the other, without async

Is someone can help ?

ROM



.