|
Hi!
My company is starting a solution where we will be dealing with multiple Pocket PC's updating a database concurrently (each one doing so once every 8 - 30 seconds).
There will be some processing done via SQL Server stored procedures to help consolidate the data as there is some central logic done on each PDA's data. We don't want each PDA to have to wait in order to post its data to the database (i.e. this will be done in a dedicated separate thread if pushing the data to the stored procedure takes too long).
My request for comments is for how you would go about implementing this system. The work to put the data into the database will be done through a stored procedure, so the Pocket PC's don't have to call much (or push much) data to the database.
I was considering doing a Web Service that would call the stored procedure, but I'm not sure how responsive it would be in a local environment with approx 3 to 20 PDA's.
I have also read briefly about .NET remoting but I don't even know if the little Pocket PC can handle this.
Finally, I am mostly a C++ programmer (MFC) and so doing raw sockets is also an option... but there seems to be a lot of support for this type of communication across networks (or is it mostly hype ).
I guess the biggest question is: What solution path would you take in terms of
- development time (this is a pilot project)
- scalability
- extensibility
- simplicity
Is there enough built in goodies in .NET such that I won't have to 'reinvent the wheel' too much?
Thanks for your time.
-Chris
|
|
|
|
|
A few questions:
How do the PDAs connect to the server?
Are the PDAs storing any temporary info, or they just immediately flush any data they acquire to the database?
From my own experience, using SQL CE connectivity will greatly simplify your development process, and it does seem to fit well in all your delvelopment requirements.
As for .NET, I'm no expert. My experience comes solely from the C++ field where these solutions have been thoroughly tested and used.
Regards,
João Paulo
|
|
|
|
|
This is my first post!
Anyway, I'm pretty stumped with this problem. I have a pocket PC which I also use as my mobile phone. I would like to create an application where I can navigate the menu's and applications native on the SIM card installed by my telcom provider in my PC. For example, if I would like to use some SIM menu to give me the latest traffic report via SMS but I control this through an interface in my desktop.
I hope someone can help...I'm really at a lost as to whether or not it is possible to even create an application like this.
|
|
|
|
|
Have a look at the Remote API (RAPI). It will allow you to call a DLL on the Pocket PC from the desktop (among a lot of other things). You write the DLL to access the SIM card and make it compatible with the RAPI services. On the desktop side, you just need to make the appropriate calls to your DLL through the RAPI interface.
Here's a starting point:
HOWTO: Use CeRapiInvoke()[^]
Regards,
João Paulo
|
|
|
|
|
Hi,
I am writing an application using eMbedded VC++ 4.0 (SP2) for a device running Windows CE .NET 4.0.
I am reading and writing to the Registry using GetProfileInt and SetProfileInt without any problems. However, these changes are only written to the Registry heap in RAM. How do I update the Registry to storage? I have tried RegFlushKey and RegCloseKeyEx and even tried using the CRegKey::Open and CRegKey::Close. But none of these work. I keep getting cryptic error messages that do not help me. Does anyone have a working example that shows how to do this?
Paul Jahans
|
|
|
|
|
You should ask to your device manufactor.
If this is a industrial device, then there should be a 'RegSave'
utility : start->run menu then type RegSave
|
|
|
|
|
I want to get the PDA's machine id, but i don't know how to do it! Can you help me?
|
|
|
|
|
What machine? Pocket PC or Palm?
Regards,
João Paulo
|
|
|
|
|
It's Pocket PC,thx
Best Regards.
David
|
|
|
|
|
|
do you know if i can use an active x to connect to a pocket pc . Does active
x have support for sockets or active sync ? If yes could you show me which
classes , methods,interfaces to use or even give me some sample code ?
Thanks
|
|
|
|
|
looking for people to write a little 2d game in C/C++ for palm using CodeWarrior6.0.
Hush,hush...
thought I heard you call my name now.
Kula Shaker.
Amit Dey
Latest articles at CP - Writing Word addins
Office addin
|
|
|
|
|
I read that client-code to call a webService can be automatically generated from a wsdl-description.
I found pocketSOAP that can do it for VB.
Are there any tools like that for evc++?
If not, what woulb be the alternative?
thx, Daniel
|
|
|
|
|
it seems that there is no such tool.
pocketSoap is the only possibility....
thx, Daniel
|
|
|
|
|
I want to communicate from Laptop to PDA via Bluetooth.
I will create a virtual COM port between both devices to do that.
How can I read from a ComPort in ecv++ 3.0?
(on HP iPAQ 5450)
Any examples?
thx for any hints...
thx, Daniel
|
|
|
|
|
Take a look at my Infrared Communication with your Mobile Phone article. I will use the IrDA port of my Pocket PC to communicate with the Mobile Phone. It works like the two devices are connected with a serial cable!
Cheers,
Daniel.
--
FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE.
|
|
|
|
|
Hi, I am developing an app in CE that sits in the background and takes a certain action on keydown and then another on keyup. This communicates serially with another device and has to do two specific functions-one when the operator hits the button and one on release. The keydown time can vary.
I have tried hotkey and hooks and they look to be deadends unless someone knows how to make those work in CE.
I appreciate any help on this.
John
|
|
|
|
|
Have you tried SHSetAppKeyWndAssoc or RegisterHotKey . May be you can also try GAPI and the GXOpenInput function.
Cheers,
Daniel.
--
FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE.
|
|
|
|
|
Hi
How do I use string class using STL for eMbedded Visual C++?Please give the code snippet.What are the header fiels to be included?I have downloaded the library from http://www.pocketpcdn.com/libraries/stl.html.
Please help.
Rgds,
Venkatesh
|
|
|
|
|
Hi
I have downloaded the stl_eVC.zip from http://www.pocketpcdn.com/libraries/stl.html.
I want to use that to get the functionality of string, istringstream,ostringstream.
Can anyone provide a sample how to include the library and its usage?
I tried to compile my application to use string class, but I am getting compiler errors.Does the library implements ostream and ofstream?
Please help.
Rgds,
Venkatesh
|
|
|
|
|
CPen myPen;
LOGBRUSH logBrush;
logBrush.lbStyle = BS_SOLID;
logBrush.lbColor = RGB(128,128,128);
myPen.CreatePen(PS_DOT|PS_GEOMETRIC|PS_ENDCAP_ROUND,20,&logBrush);
Why EVC always tell me
'PS_DOT' : undeclared identifier
'PS_GEOMETRIC' : undeclared identifier
'PS_ENDCAP_ROUND' : undeclared identifier
Can anyone help me thx ^^
|
|
|
|
|
Windows CE supports only PS_SOLID , PS_DASH and PS_NULL style flags!
Cheers,
Daniel.
--
FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE.
|
|
|
|
|
How can i Create a " PS_ENDCAP_ROUND" style Pen, can u tell me ?
thx a lot ^^
|
|
|
|
|
You will have to write code for that...
Regards,
João Paulo
|
|
|
|
|
... a bewildering number of choices...
It's easy to simulate PS_DOT for vertical or horizontal lines, but for slanted lines, we are talking about something else...
Regards,
João Paulo
|
|
|
|