Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Objects in the form request same method
Message
 
 
To
11/04/2006 19:25:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01112733
Message ID:
01113172
Views:
15
>>I have 6 objects on my form that are getting data from 6 scanners. Every object calls same form's methods to process the scan. My question is in case of a simultaneous scan how to call all these form's methods (in fact it is a framework) to insure I am not getting into the multithread issue. Can actually foxpro handle that situation? If yes, how?
>
>I have a hard time picturing an application with 6 scanners simultaneously running on a single form. And I don't know what you mean by "getting into the multithreaded issue". I **ASSUME** you mean confusion between the handling of one scan's processing with another's.
>
>But anyway, my **GUESS** is that you will have to include logic to know which scanner is currently being handled by a method and where that scanner's (or specific scan's) processing is as concerns the overall processing required for a scan. I could see this getting quite messy, but doable.
>
>good luck
>
>>
>>Thanks for any idea.

Mark:
I **THINK** the only possible problem you'll have will be if the scanner object runs its own events multi-threaded. And those events call your form methods.
- Andy Rice
San Diego, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform