jp2msft
Thu Mar 13 08:12:01 CDT 2008
Referencing System.Threading at the top of my VB app was the *first* think I
did, but Visual Studio balked that this was not defined in the current
context.
If I recall correctly, the Pocket PC (or WCE) will only run something like 6
different threads at one time. Sure, you can thread, but it has to be done in
moderation.
"Simon Hart [MVP]" wrote:
> You need a reference to System.Threading. Not sure why you say it is not wise
> to thread a device application?? We always thread our apps, sometimes it's
> the only way to get a job done.
>
> Some code is as follows:
>
> Thread myThread = new Thread(new ThreadStart(DoStuff));
> myThread.Start();
>
> public void DoStuff()
> {
> //Do long running process...
> }
>
>
> --
> Simon Hart
> Visual Developer - Device Application Development MVP
>
http://simonrhart.blogspot.com
>
>
> "jp2msft" wrote:
>
> > Ok, what do I have to do to thread my Pocket PC app using VS 2005 Pro?
> >
> > I know it is not wise to threat a PPC app, but I also know it can be done!
> >
> > Typically, the first step is to include a reference to System.Thread, but
> > that is not part of the PPC (WCE?) subset.
> >
> > What now, brown cow?