|
How to create a Console Application in eMbedded Visual C++ 3.0 for Pocket PC emulation
Thanks.
|
|
|
|
|
The Pocket PC does not support native console applications. You have download a third party console.
Regards,
João Paulo
|
|
|
|
|
u select WCE application as ur project type!
|
|
|
|
|
Hi
i'm looking for a mime encoder/decoder class for the pocket pc (am using evc++ 3.0)
does anyone have any useful suggestions for a class to use that they know works?
regards
Bryce
---
Publitor, making Pubmed easy.
http://www.sohocode.com/publitor
|
|
|
|
|
I use the File Open dialog from an article on CP, and it works fine when used form my app class.
Weirdness, Part 1 - In our app, we have a listview. One of the contxt menu items needs to call up this dialog box also. However, the dialog box displays, but locks up when called from the listview.
Weirdness, Part 2 - If I put a call to AfxMessageBox in the dialog's OnInitDlg() function, the dialog box works fine after I dismiss the message dialog. If I don't display the message dialog, the dialog box locks up.
Weirdness, Part 3 - The "X" button in the titlebar doesn't work, but the SIP does, and I can dismiss the dialog box by clicking the ENTER key in the SIP.
Anyone have any hints?
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
Are you using property sheet/pages and dialogs, or just dialogs ?
They all sound like the same problem - the new dialog isn't getting the focus when it should.
I've had something similar happen when, for instance, i created a dialog resource as a property page, then changed my mind and used as a CDialog without changing the resource properties from child to popup. Also make sure the new dialog isn't overlapped, i think that only the main app dialog can safely be overlapped (cound be wrong - have't checked).
For Part 3 : the X is part of the dialog/page, the SIP isn't, hitting enter in the SIP just acts as if you hit the default button on the dialog/page - usually IDOK.
On an unrelated note, here are some other things i've found :
There is a bug in MFC CPropertySheet::ContinueModal(), so in any PS derived class' override with :
class CkDlgEdit : public CPropertySheet
...
BOOL CkDlgEdit::ContinueModal()
{
if( !CWnd::ContinueModal() ) return(FALSE);
return(TRUE);
}
There is a resource leak when displaying a dialog box. The following methodology evidently prevents this :
void CJsoFldCeDlg::OnDblclkList( NMHDR *pNMHDR, LRESULT *pResult )
{
...
{
CkDlgEdit dlg(this, L"Edit Observation");
dlg.DoModal();
}
AfxGetApp()->OnIdle(1);
...
}
...cmk
Save the whales - collect the whole set
|
|
|
|
|
John Simmons / outlaw programmer wrote:
Weirdness, Part 1
Try inserting this on the OnInitDialog handler right after the call to the base class' handler:
if(::GetCapture())
::ReleaseCapture();
Regards,
João Paulo
|
|
|
|
|
I've had a search around and I'm at a bit of a loss... So here goes...
Background: I have a Pocket PC application that creates XML files. The PPC application reads and writes them using XmlTextReader/Writer. These files can be synchronised through ActiveSync and a desktop application allows the data to be reviewed before going in to the database.
Situation: Now, the data is to communicate with a Web Service. Since I already have the XML structure defined is there anyway I can put that across to the server without ending up with lots of > and < etc.? At the moment I define the data type in the Web Service as a string and copy the contents of the file into the string and send it across.
--Colin Mackay--
EuroCPian Spring 2004 Get Together[^]
|
|
|
|
|
Is it possible on pocketPC 2002 with evc++ to access the pda's address book. I wanna search for a certain address and read the fields of it like phone-number, street, city etc.
Any samples? Thx alot
thx, Daniel
|
|
|
|
|
|
Hi All,
Have any of you tried to upgrade their ROM in www.yorch.net site?
I tried to burn a ROM but the site doesn't seem to be working. Does any of you know a good place for download a ROM upgrade to WM2003 for the XDA TMobile Pocket PC?
Thanks,
Alaa
|
|
|
|
|
Hi,
I read Daniel's article for communicating between a PDA and a phone. Can I use these AT commands with a CDMA phone.
|
|
|
|
|
I want to install programm on my pocket PC.
But i'd like to create new directory and install files into it.
What to write in .inf file to create new folder???
I tried this expression:
InstallDir = %ce1%\SomeFolder
and i had an error message on my pocket PC.
It says that CAB file is wrong.
Thanks.
|
|
|
|
|
Try like this:
[CEStrings]
AppName="MyApp"
InstallDir=%CE1%\%AppName%
Regards,
João Paulo
|
|
|
|
|
The documents folder (My Documents) change with the user language of the Pocket PC. I need to know this name. How can I do this?
Thanks
|
|
|
|
|
IIRC, call SHGetSpecialFolderPath with CSIDL_PERSONAL for the path to \My Documents.
Jonas
---
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
Hello!
This is not a programing question!!
I have a bluetooth device that is 'connected' to my pockett PC. When this device is started, it asks the Pocket for an authentification key. I want know to disable (or store this key somewhere) this step so it will be completely transparent for the end user.
Any idea of how to do this ?? (not by program because none of my programs are run yet). Is it possible to write something in the register ?
Thanks
|
|
|
|
|
Its been a while since I did anything with bluetooth, but (IIRC) if you pair the devices you should not have to enter an authentification key.
Jonas
---
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
Ok but I'm new with this kind of things.
I searched through the parameters of the bluetooth but I cannot find anything to pair the device.
Any idea ?
hanks for your response
|
|
|
|
|
As I said, Its been a while and maybe someone with more recent experience can help you better. Here's how I remember the whole thing.
how to do it manually:
Atcivate the BT on both devices:
Let one of the devices connect to/find the other
Pair the devices by entering an autherntication key on both devices.
(you will have to do this atleast once, otherwise how can they know about eachother)
Now they should be able to communicate with eachother at any time without a key.
with code:
I dont really know. When I was playing with this 2-3 yrs ago it was very stack-dependent. That is, the api's to search, connect and pair BT devices was supplied by the stack implementor. There was no standard way to do this that worked with every stack/os with a BT device. I have no idea if that has changed.
Jonas
---
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
I'm using Windows CE, PocketPC 2003.
The problem I have is, I need to remove all of the shortcuts from the start menu except for Settings and the shortcut to my program. This would be done preferably in our install file (using InstallShield Developer 8.0) but I can get it to call a .dll or a .exe or whatnot if needs be, so just any method of removing these shortcuts programmatically would be appreciated..
Thanks
Kelly Ryan
|
|
|
|
|
enumerate the .lnk files in \windows\start menu with findfirst/findnext and then move the ones you dont want there to \windows\start menu\programs
Note: you might want to use SHGetSpecialFolderPath to find out the non-english names of these folders if your users have non-enlish pdas.
Programs, Settings, Find and Help are not removable (or atleast Programs and Settings, dont really know about the other two).
Jonas
---
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
Hello,
how can I add an icon to the items existing inside a popup menu using win api functions?
Best Regards,
Ramona
|
|
|
|
|
While coding for some context menus, I stumbled across the following issues regarding storage cards. We are using the Compaq iPaq, and we have the dual PC-Card caddy. Our app relies on the iPaq to have the little blue memory card inserted, and we figured just checking for a "Storage Card" would be adequate. Oh, how wrong we were...
1) When the PDA is reset with the little blue memory card inserted in it's slot, it shows up as "Storage Card".
2) If you then insert a flashcard in the first PC-Card slot, it shows up as "Storage Card 2".
3) If you then insert a flashcard in the second PC-Card slot, it shows up as "Slot 2".
So far so good, right?
4) If you remove the little blue memory card and reset the pda, the flash card in PC-Card slot 1 becomes "Storage Card", and the flash card in PC-Card slot two remains "Slot 2".
5) If you then re-insert the little blue memory card into it's slot, it becomes "Storage Card 2".
-------------------------------------------------
This is NOT a good thing. We want to REQUIRE that the little blue memory card is inserted, but if a flash card can be inserted and is allowed to be a "Storage Card", we're screwed.
QUESTION:
Is there any way to tell whether or not the storage card is a memory card (using the memory card slot in the iPaq), or if it's plugged into a PC-Card slot in the caddy?
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
Well, I think I found a way to tell a storage card from everything else on the system.
From the device root, check each directory name to see if one of it's file attributes is FILE_ATTRIBUTE_DIRECTORY.
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|