|
iPAQ 38xx, 39xx, 54xx
Regards,
João Paulo
|
|
|
|
|
I need to create a Pocket PC 2002 program which prompts the use for a Folder name. Instead of reinventing the wheel, I tried using SHBrowseForFolder with the following code:
if (SHGetMalloc(&imalloc) == NOERROR) {
if (itm = SHBrowseForFolder(&browseinfo)) {
imalloc->Free(itm);
}
}
(This is just the test code).
The compiler compiles the code fine, but the linker threw me this error:
error LNK2019: unresolved external symbol __imp__SHBrowseForFolder referenced in function "long __cdecl MAINDIAG_PROC(struct HWND__ *,unsigned int,unsigned int,long)" (?MAINDIAG_PROC@@YAJPAUHWND__@@IIJ@Z)
I tried linking CESHELL.LIB and AYGSHELL.LIB with my exe file, but the error still persists. Anyone has any ideas??
|
|
|
|
|
|
Can I use Enbedded Visual C++ 4.0 to write programs for Pocket PC 2002?
(or do I have to use evc++3 ?)
thx, Daniel
|
|
|
|
|
You have to use eVC3.
Regards,
João Paulo
|
|
|
|
|
If the platform is based on Windows CE 3.0 or older, use eVC 3.
If the platform is based on Windows CE.NET 4.0 or newer, use eVC 4.
Changes were made to the debugging API in Windows CE.NET 4.0 which mean that eVC 3 can't debug on that platform. Likewise eVC 4 cannot debug on CE 3.0.
Microsoft are enforcing this by only showing CE 3.0 and lower SDKs as targets in eVC 3, and CE 4.0 and higher SDKs in eVC 4.
Pocket PC 2000, Pocket PC 2002 and Smartphone 2002 are based on Windows CE 3.0; Pocket PC 2003 and the forthcoming Smartphone 2003 (Windows Mobile 2003 for Smartphones) are based on CE.NET 4.2. Few people will ever develop on a custom OEM platform, but if you need to, check with the OEM to see which version of Windows CE it's based on.
I work for a custom software house specialising in data capture applications; we write software for some custom barcode-enabled handheld computers which are not based on Pocket PC. Sometimes this is a blessing (we have to work around the Pocket PC shell a lot of the time) and sometimes a curse (where a library available on Pocket PC isn't in the OEM's platform).
|
|
|
|
|
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
|
|
|
|