Click here to Skip to main content
15,913,487 members
Home / Discussions / Mobile
   

Mobile

 
QuestionAsynchronous Thread Communication in Windows CE Mobile Pin
Jethro6321-Feb-06 4:09
Jethro6321-Feb-06 4:09 
AnswerRe: Asynchronous Thread Communication in Windows CE Mobile Pin
Brian R21-Feb-06 14:09
Brian R21-Feb-06 14:09 
QuestionWeb service Pin
Khaled Mahmoud20-Feb-06 4:01
Khaled Mahmoud20-Feb-06 4:01 
QuestionRemote access to windows/linux pcs from symbian OS PDA Pin
shunnyboy18-Feb-06 11:22
shunnyboy18-Feb-06 11:22 
QuestionAsynchronous Messaging Question Pin
Jethro6317-Feb-06 7:53
Jethro6317-Feb-06 7:53 
AnswerRe: Asynchronous Messaging Question Pin
Chris S Kaiser17-Feb-06 8:04
Chris S Kaiser17-Feb-06 8:04 
GeneralRe: Asynchronous Messaging Question Pin
Jethro6317-Feb-06 8:14
Jethro6317-Feb-06 8:14 
GeneralRe: Asynchronous Messaging Question Pin
Chris S Kaiser17-Feb-06 8:24
Chris S Kaiser17-Feb-06 8:24 
Yep. Invoke is synchronous. But what your asking for is a method to notify your main form that the background process has data available. So you would need to set your delegate to simply notify that the operation has finished. Then inside your form, access the static data in a protected common area and use a set of flags or state machine to determine the operation that was performed and respond accordingly.

With this you can simulate asynchronous behavior with your background thread and only use the Invoke of the form as a notifier. If your worried that the invoke will hang your background thread while processing the data then you could just use it to set a flag and have another thread maybe on a timer or something watch the flag and operate on the data from there instead of during the invoking from the background thread. A little klugy but that's what we got.

The Compact way of threading is to have parameterless invokes. So that's why the need for a state machine or set of flags.

This statement is false.
GeneralRe: Asynchronous Messaging Question Pin
Jethro6317-Feb-06 8:42
Jethro6317-Feb-06 8:42 
GeneralRe: Asynchronous Messaging Question Pin
Chris S Kaiser17-Feb-06 8:49
Chris S Kaiser17-Feb-06 8:49 
GeneralRe: Asynchronous Messaging Question Pin
Jethro6317-Feb-06 8:50
Jethro6317-Feb-06 8:50 
GeneralRe: Asynchronous Messaging Question Pin
Chris S Kaiser17-Feb-06 8:54
Chris S Kaiser17-Feb-06 8:54 
GeneralRe: Asynchronous Messaging Question Pin
Jethro6317-Feb-06 9:01
Jethro6317-Feb-06 9:01 
Question.NET Compact Framework Pin
vilasjain17-Feb-06 7:18
vilasjain17-Feb-06 7:18 
Questionhow can i access database SQL server Pin
Your Code16-Feb-06 20:01
Your Code16-Feb-06 20:01 
QuestionWindows CE Problem Pin
RockyM16-Feb-06 17:57
RockyM16-Feb-06 17:57 
QuestionCan I Import "CreateEvent" into Windows CE.NET? Pin
Jethro6316-Feb-06 3:58
Jethro6316-Feb-06 3:58 
AnswerRe: Can I Import "CreateEvent" into Windows CE.NET? Pin
Jonas Larsson21-Feb-06 4:23
Jonas Larsson21-Feb-06 4:23 
Question"Running Programs" on Windows Mobile Pin
Jethro6315-Feb-06 2:34
Jethro6315-Feb-06 2:34 
AnswerRe: "Running Programs" on Windows Mobile Pin
Jonas Larsson15-Feb-06 4:08
Jonas Larsson15-Feb-06 4:08 
GeneralRe: "Running Programs" on Windows Mobile Pin
Jethro6315-Feb-06 4:17
Jethro6315-Feb-06 4:17 
QuestionCan not convert CCeSocket to WM 5.0 Pin
Namdn14-Feb-06 22:55
Namdn14-Feb-06 22:55 
QuestionCreated Help Pin
Mahardhika14-Feb-06 13:26
Mahardhika14-Feb-06 13:26 
QuestionPls suggess any resource to learn mobile development? Pin
williamccyccyccy13-Feb-06 14:52
williamccyccyccy13-Feb-06 14:52 
AnswerRe: Pls suggess any resource to learn mobile development? Pin
TomMCS19-Feb-06 17:29
TomMCS19-Feb-06 17:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.