Hello Mike,
Thanks for your suggestions. I decided to move over to CE 5.0 and that solved my problems.
For the sake of completeness I will post a couple of items that I needed to change in order to get up and running.
In the foo.c program I needed to add the line:
Quote:
InitializeCriticalSection(&v_StateCritSect);
in the FOO_Init function as it seemed that v_StatCritSect was not initialized elsewhere.
As I wanted to signal a thread in my application I needed to name the event that is pulsed in the driver IST and then create an event with the same name in my application which was used to trigger a thread in my application. Using the name FooEvent, I change the CreateEvent call in the foo.c as follows:
Quote:
hFooUserEvent = CreateEvent(NULL, FALSE, FALSE, TEXT( "FooEvent" ));
With those changes, things appear to be working as intended.
Thanks again,
Frank T.