Click here to Skip to main content
16,006,594 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: "Run Program After Device Inactivity" (evc++) Pin
Jonas Larsson22-Feb-06 23:55
Jonas Larsson22-Feb-06 23:55 
GeneralRe: "Run Program After Device Inactivity" (evc++) Pin
ZapMe123-Feb-06 12:44
ZapMe123-Feb-06 12:44 
QuestionDisable ActiveSync with evc++ code Pin
ZapMe122-Feb-06 8:14
ZapMe122-Feb-06 8:14 
AnswerRe: Disable ActiveSync with evc++ code Pin
Jonas Larsson22-Feb-06 21:52
Jonas Larsson22-Feb-06 21:52 
GeneralRe: Disable ActiveSync with evc++ code Pin
ZapMe123-Feb-06 12:41
ZapMe123-Feb-06 12:41 
GeneralRe: Disable ActiveSync with evc++ code Pin
ZapMe15-Mar-06 7:35
ZapMe15-Mar-06 7:35 
QuestionThemes Pin
Fernando A. Gomez F.21-Feb-06 11:32
Fernando A. Gomez F.21-Feb-06 11:32 
QuestionAsynchronous Thread Communication in Windows CE Mobile Pin
Jethro6321-Feb-06 4:09
Jethro6321-Feb-06 4:09 
Greetings:

I've been struggling with writting a communications IO thread for a Windows Mobile .NET 2003. I have boiled my concerns down to a couple of basic questions:

Is it possible to have one thread send an asynchronous message to another thread. In other words, I'm looking for something equivalent to the "PostMessage" API procedure which places a message into a message queue of a window or command target but does not wait for for the message handler to finish (the way "SendMessage" would). Does this facility exist in Windows Mobile? Can it be implemented in Windows Mobile .NET or must I import things from the CoreLib.DLL?

I have also noticed that Windows Mobile .NET does not seem to support waiting on an AutoResetEvent or ManualResetEvent with a timeout. The overrides for "WaitOne" that allow you to provide a timeout parameter don't seem to be there for Windows CE.NET. Ditto on the static function "WaitAll".

With these elements removed, I don't know how one goes about writing efficient threads that can sleep when they are not needed and send messages to each othere without having to be "joined at the hip".

Have I misunderstood something? I hope I have. If anyone has some insight, I'd appreciate hearing from you.

Cheers,
Mark
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 
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 

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.