Re: Methods and Threading
- From: "Tom Serface" <tserface@xxxxxxx>
- Date: Tue, 14 Feb 2006 12:19:52 -0800
Oops hit wrong key...
This link might help you:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcemfc/htm/cwinthrd.asp
http://www.codeproject.com/threads/extended_thread.asp
and of course Doug's FAQ is always a good read:
http://members.cox.net/doug_web/threads.htm
Tom
"FefeOxy" <jacksun007@xxxxxxxxx> wrote in message
news:1139947174.901993.51090@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dear Tom,
I am not sure if I understand what your new class does (what is
DECLARE_DYNAMIC. I read it but was confused).
My backgroundCalc function needs to access several private members such
as GPIBDevice1, 2, and the a static text member in the form (all of
which I've declared within the form). Therefore, using a static member
outside of the function is extremely undesirable. And my project being
of a managed type, I can't use friend to resolve this problem so
basically I'll need to have a bunch of delegates getting info from the
GPIBDevices and updating them in the form, that seems extremely
inefficient and long-winded.
Maybe it's time I re-structure the code.....
.
- References:
- Methods and Threading
- From: FefeOxy
- Re: Methods and Threading
- From: Tom Serface
- Re: Methods and Threading
- From: FefeOxy
- Methods and Threading
- Prev by Date: Re: Methods and Threading
- Next by Date: Re: Methods and Threading
- Previous by thread: Re: Methods and Threading
- Index(es):
Relevant Pages
|