I dived somewhat more into the framework. Really cool stuff.
I fixed the ThreadPoolWorker.cs implementation with a custom delegate that resides into the ThreadPoolWorker class. It is replacing the missing WaitCallback delegate.
I changed into the functions QueueWorkItem a line of code:
After that the compile errors about the ThreadPoolWorker class where gone. However, there are still lots of type errors to fix before I can do a runtime test on a Windows mobile device.
Peter.
I fixed the ThreadPoolWorker.cs implementation with a custom delegate that resides into the ThreadPoolWorker class. It is replacing the missing WaitCallback delegate.
Code:
public delegate void ThreadPoolWorkerCallback(object state);
I changed into the functions QueueWorkItem a line of code:
Code:
ThreadPool.QueueUserWorkItem(HandleWorkItem, qc);
After that the compile errors about the ThreadPoolWorker class where gone. However, there are still lots of type errors to fix before I can do a runtime test on a Windows mobile device.
Peter.