CE 5.0 Profession/CE.Net 4.2 and Mobile 5

windows ce


  • 1. Plugin for Notepad?
    Hi, I'd like to ask whether it is possible to include plugin to Notepad? Due to the hardware design of this Bluebird PDA, which has an in-built thermal printer, the Notepad on this Win CE .NET 4.2 does not print (nothing come out after tapping Print button). So, I got the API, and its library, and already come out with my own printing engine and already in use by my application. I thought I would want to open this benefit to this Bluebird PDA users so that they can print and with various character appearance adjustment. Is Notepad support underlying plugin somewhere? Or must I go and write one (PrintPad?) myself? (text editor) Thanks. Khan Ming
  • 2. Help needed from MFC and COM gurus
    I have an already existing MFC based Exe developed i have to add automation support to the existing .Exe, How can i achieve this. If i can add a simple ATL object to the existing MFC Exe, will i be able to create an instance of this Exe from my script (Say VB script) and call the functions accordingly. Scenario : Say a user has to be authenticated through webserver or FTP, I have written a custom validate function for my system in Validate.Dll, This Dll will be loaded by my Myapp.exe. Myapp.exe is a MFC based DLL. User details are present in Validate.Dll. How can a user be authenticated by using the functionality of my custom DLL through webserver or FTP server. Any suggessions would be helpful,
  • 3. Breaking out of WaitCommEvent in CE 5.0
    My read thread has a call to WaitCommEvent that used to get an event when I closed the port using CloseHandle. This worked for CE 3.0 and 4.2. Now I loaded my app on a 5.0 device and it doesn't seem to return. Does anyone know if there were any changes in 5.0 for this? I didn't see anything about it in the documentation. Thanks. Gene Chang
  • 4. Internet Explorer and text encodings
    Hi, everybody! I have Windows CE .NET 4.2 mobile computer, that must be enabled to show properly Web pages encoded in code pages, that are not included in the OS image of the device. I'm just starting to explore the issue of how to write and add additional character filters to the Internet Explorer (View -> Encoding menu). I would really appreciate if someone gives me a hint about the general principle of these filters, and from where to start. Thanks!

CE 5.0 Profession/CE.Net 4.2 and Mobile 5

Postby Bruce L-C [MVP] » Thu, 10 May 2007 23:54:16 GMT

I have two types of handheld devices that I would like to write an app for 
(preferably a single app for both). One is running CE.5.0 
Professional/CE.net 4.2, the other is running Mobile 5.

I am experienced in VB.net 2005 but I have never developed for a mobile 
device before. The application is fairly simple. Some menus, getting some 
user input and then calling a stored procedure in SQL Server 2005 (or I 
could do web services if that is better). In some cases I will query data 
and show a list.

I have been reading up and I get confused on what is possible. Can I count 
that both of the above have compact 2.0 framework? Does CE.Net 4.2 come with 
compact framework or does that need to be installed?

These two devices are very similar (same screen resolution for example).

The vendors websites are pretty vague so I might need to contact them with 
further questions but I don't know what to ask.

So, my questions are:
    What needs to be in place/what should I check on that I could tell if 
these two devices could run the same app.
    Can I / should I call SQL Server directly from the device or would web 
services be better/easier way to develop.


Bruce Loehle-Conger 

Re: CE 5.0 Profession/CE.Net 4.2 and Mobile 5

Postby Paul G. Tobey [eMVP] » Fri, 11 May 2007 00:54:41 GMT

> I have been reading up and I get confused on what is possible. Can I count 

No, you can't count on this, although they may have .NET CF 2.0.

As with *all* components of Windows CE, this is *entirely* up to the device 
OEM.  There is absolutely nothing that you can say generally about Compact 
Framework and Windows CE devices.  Some have it, either .NET CF 1.0 or 2.0, 
you can't tell which, some will not have it at all.

If the devices have the same version of the .NET CF on them, then the 
program should run in a relatively similar manner on them all.

There's no right answer to this question.  It's much more direct to contact 
the server with no Web service in the middle and that's probably how I'd do 
it on our devices, as they are generally fixed in space or in areas where 
network connectivity is relatively reliable.  However, if your devices are 
totally mobile, you can't count on the network being there at all 100% of 
the time.  In that case, merge replication would be a better choice 
(effectively eliminating Web services), as you can trigger replication when 
you're sure that you're in range of the network or at the end of a day or in 
some better situation that only you would recognize.  MR is *much* 
more-difficult to set up, so I wouldn't use it unless you have to, but, if 
you are in an intermittent connection environment, it's designed for your 

Paul T.

Re: CE 5.0 Profession/CE.Net 4.2 and Mobile 5

Postby Bruce L-C [MVP] » Fri, 11 May 2007 01:11:11 GMT

Thanks for the quick reply. I'll ask the vendors if it comes with CF and 
what version.

I can count on being connected. Right now it is a terminal emulation to a 
Unix server using vt 220 emulation. We have used that for ages and have now 
recently upgraded the devices and network. They now are all connected 
wirelessly all the time. We went to a lot of effort to make sure there were 
no dead spots (otherwise they lose their connection to the unix box and have 
to log back in).


"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT 

Similar Threads:

1.Migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform

Hi All,

I am migrating Windows CE.NET 4.2 to CE 5.0 on OMAP1510 platform.
The BSP is working fine with CE.NET 4.2.  The same BSP we built it in
CE 5.0 and downloaded into target device but image is not getting
displayed.  We debugged it and found that CE Core schedulerInit is
failing, means that MDCreateThread is executing but after that no

MDCreateThread(pCurThread, pStack, pCurProc->e32.e32_stackmax,
(LPVOID)SystemStartupFunc, 0, TH_KMODE, 0);

RETAILMSG(1,(L"Sched: MDCreateThread is done\r\n")); //removable

what could be the problem? Any suggestion is appreciated..

Thanks in Advance

2.Windows CE 4.2 Application on CE 5.0 and CE 6.0


I have an application written in C# using VS2005 targeting windows CE
4.2 Pocket PC phones. The application also uses some low level system
calls to handle SMSs and to do some raw read and writes on the SD
cards. Who difficult will it be to deploy the application on to a
Windows CE 5.0 and 6.0 device. Do the form factors and the system APIs
change significantly?


3.CE 4.2 and CE 5.0 devices hang if using shared virtual memory during active IO

In our application we use shared virtual memory a lot via custom operator 
new/delete. It works OK and allows us to use all available physical memory 
if needed (so we are not limited to 32 MB).

But if the cpu load is high and we actively use RS232 port and also write to 
the flash card then the devices just hang in several minutes.
It was tested on our own platforms and on HP iPAQs. Application hangs under 
debugger and ActiveSync looses connection.

So it can be either problem in our memory allocation or really problem in 
hardware or OS. What could it really be?

4.Device Driver Not Working on CE 5.0 from CE 4.2

After converting from CE 4.2 to CE 5.0 my device would show "Unknown
card in Socket 1".  Checking the WEB and PlatformBuilder 5 it say CE
5.0 it should be able to use legacy device drivers.  Is this true or do
I have to make some additional entries in the registry or device driver
to get it to work?  Here is the registry settings used:


I did find if I add another registry entry under the
PCCARD\PCMCIA\TEMPLATE that I could get the card to be detected.  Do
you have to implement PNP in CE 5.0 to get your device drivers to worK?


My MRK_INIT function gets called with the new registry entries but I
never receive a CE_CARD_INSERTION event from my PCMCIA callback
function that I use.  I have read conflicting stories that the
CE_CARD_NOTIFICATION event was removed.  Is this true and how do you
work around this.  Is there documentation for CE 5.0 that explains
device driver registry entries better than PlatformBuilder?

Do you need to use the ActivateDeviceEx function to make device drivers

5.Serial drivers: CE 5.0 vs CE 4.2

The serial drivers in CE 5.0 are now based on different source files 
(com16550.cpp, pdd16550.cpp, cserpdd.cpp). In 4.2 they were based on 
com16550.c, ser16550.c, mdd.c. Is there anyway i can modify the serial 
drivers such that it uses the 4.2 files? The reason why i ask is because i 
had just finished customizing the serial drivers in 4.2 and then got asked to 
upgrade to CE 5.0. I would love to be able to port the custom changes i made 
in 4.2 to 5.0. 

The CE 5.0 files are similar to the CE 4.2 files and so i tried changing the 
5.0 files in accordance to what i did in the 4.2 files. But the results in 
running my C# app over this is not the same, and not as desirable as the 
results obtained in the 4.2 system. This is why i want to use the 4.2 files 
instead of the 5.0 files.



6. CE 4.2 bluetooth hotfix (KB 892510) not present in CE 5.0

7. Building an image for CE 5.0 using CE 4.2

8. Video Performance in Win CE 4.2 vs CE 5.0 & 6.0

Return to windows ce


Who is online

Users browsing this forum: No registered users and 29 guest