Click here to Skip to main content
15,902,299 members
Home / Discussions / Mobile
   

Mobile

 
QuestionA place for network programmers [modified] Pin
Reza Shademani24-Jun-06 23:49
Reza Shademani24-Jun-06 23:49 
Questionapplication reqd to push object from desktop to bluetooth device Pin
piyushnarain24-Jun-06 2:37
piyushnarain24-Jun-06 2:37 
AnswerRe: application reqd to push object from desktop to bluetooth device Pin
Gavin Roberts17-Jul-06 1:00
Gavin Roberts17-Jul-06 1:00 
QuestionReading PocketOutlook email Pin
Duffy5423-Jun-06 2:50
Duffy5423-Jun-06 2:50 
Questione.NET CF Installation Pin
analytiks21-Jun-06 17:27
analytiks21-Jun-06 17:27 
AnswerRe: e.NET CF Installation Pin
Chris S Kaiser23-Jun-06 17:30
Chris S Kaiser23-Jun-06 17:30 
QuestionPorting WIn32->PPC. Pin
Mike Doner21-Jun-06 4:50
Mike Doner21-Jun-06 4:50 
AnswerRe: Porting WIn32->PPC. Pin
Mike Dimmick26-Jun-06 3:20
Mike Dimmick26-Jun-06 3:20 
That's generally the right approach. I've never really done much desktop drawing code, although there have been a couple of occasions when I've prototyped something on the desktop since desktop development is typically more rapid.

I don't know if you're using MFC or not. MFC for Windows CE as supplied with the Pocket PC 2003 SDK is basically a cut-down version of MFC 6.0. You should also be aware that the compilers in eVC 4.0 are based on the Visual C++ 6.0 front-end, and their standards compliance is therefore similar to VC 6.0.

If you are using MFC, you'll find most APIs are present. If not, there are a significant number of drawing APIs which aren't available on Windows CE, because they were redundant (for example, MoveToEx, LineToEx are not present because Polyline can do single and multiple line segments) and were therefore removed to make space. MFC simply wraps up these APIs.

Windows CE does not support mapping modes. All drawing is done in pixel units, equivalent to the desktop's MM_TEXT mapping mode. You can only create very simple pens (one-pixel-wide dashed pens, any width solid pens, null pens). The path APIs are not available.

I had thought that there was a difference between how Windows CE did FillRect and how the desktop does, with regard to filling the right-hand and bottom edges, but it appears that if it was ever a problem it was fixed before Pocket PC 2003 - I can't reproduce it. Perhaps I'd become confused between this and BitBlt.

If what you're doing isn't device specific (for example making use of barcode scanner hardware or other OEM APIs), I've found that making use of the emulator does speed up development a little (not relying on a physical connection). If you're going to use an emulator, use the one from VS2005 because it's ARM-based, like the devices, rather than being x86-based like the ones supplied with the Pocket PC 2003 SDK. If you don't have VS2005, download the Microsoft Device Emulator 1.0 package[^] and the appropriate emulator images. To use this with eVC 4.0, run the Device Emulator Manager from VS2005 or from the Device Emulator install directory (DvcEmuManager.exe). Right-click the image you want to use and choose Connect - the emulator starts up. In ActiveSync, ensure you have 'DMA' selected under 'Allow connections to one of the following' in Connection Settings. Make sure nothing's currently connected to ActiveSync. Then right-click the image in Device Emulator Manager and select Cradle. The emulator should now connect to ActiveSync. Now you can use the emulator as if it were a device.

If you're feeling brave you can try the Device Emulator 2.0 CTP, which is supposed to have performance improvements. You must use the 'Register' feature for any of the new components to be used and to get the performance improvement - the installer just copies the new files.

Stability. What an interesting concept. -- Chris Maunder
QuestionLook for a framework like MFC for Smart Device .Net project Pin
vassilux@20-Jun-06 23:08
vassilux@20-Jun-06 23:08 
QuestionRecovering pocketPC from sleep mode Pin
rock777720-Jun-06 21:24
rock777720-Jun-06 21:24 
AnswerRe: Recovering pocketPC from sleep mode Pin
Mike Dimmick26-Jun-06 3:42
Mike Dimmick26-Jun-06 3:42 
QuestionGetting started developing apps for WM... Pin
Wideawake0320-Jun-06 9:32
Wideawake0320-Jun-06 9:32 
AnswerRe: Getting started developing apps for WM... Pin
Duffy5423-Jun-06 10:04
Duffy5423-Jun-06 10:04 
QuestionCreate User Control for Compact Framework. Please help Pin
Jepthy20-Jun-06 5:02
Jepthy20-Jun-06 5:02 
AnswerRe: Create User Control for Compact Framework. Please help Pin
Jepthy21-Jun-06 5:07
Jepthy21-Jun-06 5:07 
QuestionUrl Problem !! Pin
Tamimi - Code20-Jun-06 2:51
Tamimi - Code20-Jun-06 2:51 
AnswerRe: Url Problem !! Pin
Mike Dimmick26-Jun-06 3:38
Mike Dimmick26-Jun-06 3:38 
QuestionUsing Soft Keys Pin
Tamimi - Code19-Jun-06 23:53
Tamimi - Code19-Jun-06 23:53 
QuestionPocket PC Files Encryption methods Pin
wezaya17-Jun-06 16:54
wezaya17-Jun-06 16:54 
NewsRe: Pocket PC Files Encryption methods Pin
wezaya27-Jun-06 2:36
wezaya27-Jun-06 2:36 
QuestionHow to transfer data from Mobile Wireless Application to Web Application using GPRS in .Net? Pin
selatan7916-Jun-06 5:04
selatan7916-Jun-06 5:04 
QuestionOpening a JPG file... Pin
Ponzano Paolo15-Jun-06 9:18
Ponzano Paolo15-Jun-06 9:18 
QuestionConnections Pin
RB@Emphasys15-Jun-06 5:12
RB@Emphasys15-Jun-06 5:12 
QuestionMobile ListControl Pin
softwareitprofessional14-Jun-06 21:51
softwareitprofessional14-Jun-06 21:51 
QuestionProblem showing the system input panel Pin
Fernando A. Gomez F.13-Jun-06 6:20
Fernando A. Gomez F.13-Jun-06 6:20 

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.