> Hi Paul,
> Thanks for your valuable suggestions.(Sorry for late reply).
[quoted text clipped - 9 lines]
> message queue for communication, i was able to pass a simple string
> from one application to the other application.
Great, so you're set.
> 3. I meant samething by the word event.You have mentioned that i can
> use an "event", in the operating system sense...can u please explain
> me little more on this.
An operating system event is a particular type of object that has a
well-defined set of semantics associated with it. You can read the help to
find out what those are. The help for CreateEvent() in the native code SDK
is probably the starting point.
> 4.I want to decide whether i have to use multiple applications or a
> single application. Can u please tell is there any thread(something)
> which will be running always when the mobile is switched on.So that i
> can communicate with my main application.
No, absolutely not. However, a program doesn't have to "pop up", any more
than a service has to have a UI. I don't, I guess, understand what the
problem is. You have a process that will last four minutes, during which a
database will be inaccessible, but, during that process, the database has to
be accessible?! That sounds like what you're saying and it's clearly
contradictory. I personally don't see *any* reason not to have a single
application that uses a separate thread to periodically download and do
whatever needs to be done to the database. Unless you need precise timing
of when that happens, you could just have the main thread set a timer and,
roughly every 24 hours start the download thread. Yes, if someone exits the
application, it will be exited. So, what do you do about that? You don't
allow it to be exited, of course.
Paul T.