Click here to Skip to main content
15,881,424 members
Everything / Operating Systems / WinCe

WinCe

WinCE

Great Reads

by David Lafreniere
A Win32 CreateThread() C++ wrapper class for synchronized thread startup and forced message queue creation.
by YangManWoo
This article describes how to create custom controls using strategy patterns.
by Yuri Maxutenko, Apriorit Inc
This article covers the creation of the CAB-installers for the Windows CE 5.0/6.0 applications for thin clients.
by Member 4079860
Describes a process to load/unload built in drivers under WinCE at run time to speed up development process

Latest Articles

by David Lafreniere
A Win32 CreateThread() C++ wrapper class for synchronized thread startup and forced message queue creation.
by Dirk Bahle
A quick guide to managing 100000'ish records efficiently with SQLite and C#/.Net.
by YangManWoo
This article describes how to create custom controls using strategy patterns.
by Yuancai (Charlie) Ye
Continuous in-line request/result batching, real-time stream sending/processing, asynchronous data transferring and parallel computation for best performance and scalability

All Articles

Sort by Score

WinCe 

23 Oct 2019 by David Lafreniere
A Win32 CreateThread() C++ wrapper class for synchronized thread startup and forced message queue creation.
19 Mar 2013 by Philippe Mori
If possible you should first copy the firmware from the USB drive to a safe memory location and when complete you should validate the data on the copy and then upgrade the firmware.Directly upgrading from the USB key is not safe as the user can remove the key at any point.You should at...
22 Apr 2013 by nv3
I assume that you are working Win32 level in C. Send an EM_SETSEL message to the edit control and set thereby the selection to the character or characters you would like to change. See: http://msdn.microsoft.com/en-us/library/windows/desktop/bb761661%28v=vs.85%29.aspx[^]Then send an...
22 Apr 2013 by Jochen Arndt
Edit controls does not provide functions to manipulate single characters. You have two options:1. Get the complete text, modify it, and store it backUse GetWindowText() to retrieve the text, modify it, and put it back using SetWindowText(). When using a CString, a single character can be...
6 Feb 2011 by fjdiewornncalwe
There is this wonderful internet tool called Google. It can be your best friend as a developer. If you had put your question directly there, you would have gotten "About 104,000,000 results"(At least from where I am).Check them out.
25 Mar 2011 by OriginalGriff
There is no tool, and it is very unlikely that it will work straight away - CE has no concept of back end / Ajax.If this had been a desktop app, then there was a slim chance that rebuilding it for CE might work. But with a web app? No chance. Could you re-compile a web app for a desktop? CE...
15 May 2011 by #realJSOP
Your source code isn't in the CAB file, but you can still get to it.0) To extract the files : http://support.microsoft.com/kb/129605[^]1) To see your source code for the binaries : Use Reflector[^]
13 Oct 2011 by Mehdi Gholam
You can disable all the controls like this :foreach(Control c in this.Controls) c.Enabled= false;btnCancel.Enabled=true;
25 Sep 2013 by Sergey Alexandrovich Kryukov
It depends on the framework, libraries and language you are using. In particular, you can use .NET for Windows CE:http://msdn.microsoft.com/en-us/library/ms920900.aspx[^].Then you can use GPSAPI this...
1 Jun 2018 by YangManWoo
This article describes how to create custom controls using strategy patterns.
6 Feb 2011 by Nish Nishant
Is this for Windows Phone 7? (it seems to run CE underneath) If so, this is typically done via web services. The web service (potentially but not necessarily in WCF) does all the database handling, and the WP7 app just talks to the web service (and never directly to the database). I would...
12 Mar 2011 by Abhinav S
This[^] may help.
16 Mar 2011 by Yuri Maxutenko, Apriorit Inc
This article covers the creation of the CAB-installers for the Windows CE 5.0/6.0 applications for thin clients.
23 Mar 2011 by OriginalGriff
You can't install WinCE on a desktop machine: it is intended for embedded devices and needs to be tailored to the exact hardware by the manufacturer.I suspect that you don't actually need to install WinCE on Win7: what are you trying to achieve by doing that?
11 Jul 2011 by OriginalGriff
Something is corrupting your database: I have never seen that error and I've been using those DBs for a while. Check that you have enough space for the file - are you running out of memory / file system space, and masking the exception when you insert or update? Try changing the file name: is...
8 Aug 2012 by Kenneth Haugland
Yopu should really search this site before asking that question:http://www.codeproject.com/search.aspx?q=Barcode+Scan&x=0&y=0&sbo=kw[^]
23 Aug 2012 by Sergey Alexandrovich Kryukov
What a minute… I looked at your own link and found that the source code is available:http://www.research.rutgers.edu/~ionescu/iperf-wince/iperf-windowsce.zip[^].And if this is the UI, and you need just the "command line application" (there is no such thing, for your information;...
23 Aug 2012 by Joan M
IMHO What you are asking is correct and incorrect at the same time...Let me explain:Do we need to just replace the header files and the library functions to do so?Yes, you will need to change whatever is interacting with the OS, mainly functions that are working towards the graphical...
28 Aug 2012 by CPallini
There is no SIGALRM on Windows. You should code (or find on the web[^] ) a work-around for that.SERVICE_TABLE_ENTRY is a Windows specific struct, defined in Winsvc.h (see here[^]) I don't know if it is available to Windows CE.
16 Apr 2013 by milinda saranga
I have windows application to synchronize Sql CE database data of a windows mobile application. I got few issues on synchronization of mobile connected to windows 7 32bit PC.On synchronization, windows application will copy Sql CE databse from Mobile Device to the PC and do synchronization...
22 Apr 2013 by Richard MacCutchan
It's difficult to give an naswer to your question, but you should check the documentation[^] to see which methods or messages would best suit your purpose.
21 Jul 2013 by Neven Iliev
Is there a compatibility issue or something else that would prevent a Windows CE 5.0 device from accessing files directly from a Windows Server 2008 R2, given a network path like "\\192.168.1.20\myFolder\myFile.exe" ?I have a C# application that's used by a number of barcode scanning devices...
22 Jul 2013 by Neven Iliev
Windows CE cannot access network shares using the server's address. It requires the server's UNC (Universal Naming Convention).For example: \\V-AppServ\myFolder\NOT \\192.168.1.20\myFolder\
18 Sep 2013 by Joan M
Hello all,I'm interested on changing the display resolution of a Windows CE computer to a non standard resolution.In my mini-computer I can select resolutions like 1024x768 (3:4), and I would like to get 1366x768 (16:9).The industrial manufacturer allows me to change resolutions...
5 Feb 2014 by OriginalGriff
SqlCE has many limits: http://msdn.microsoft.com/en-us/library/ms172451.aspx[^] explains them for V3.5
20 Mar 2014 by phil.o
Here you will see everything you need about SQL Server CE capabilities:Functions (SQL Server Compact)[^]
29 Oct 2014 by Richard Deeming
According to this thread[^], there is no facility to change the target framework. However, if you select "Upgrade project" from the project menu, you should be able to select a newer framework version.
10 May 2017 by Maciej Los
As SQLite documentation[^] states, a database in WAL journaling mode can only be accessed by SQLite version 3.7.0 (2010-07-21) or later. Conclusion: you have to use newer version of SQLite[^] database. [EDIT] To be able to open SQLite database in WAL mode, you have to open it using special...
7 Mar 2018 by Maciej Los
Well... This is normal behaviour of control with AutoCompleteCustomSource[^], because it automatically completes input strings by comparing the prefix being entered to the prefixes of all strings in a maintained source. If you would like to change it, you have to create textBox1_Click event and...
N 8 Apr 2024 by OriginalGriff
It's been a long time since I did anything with Win CE, but ... as far as I remember, you can't have multi screens at all - and that would explain why Screen.AllScreens doesn't exist. I suspect you are going to have to rethink your project to an...
N 8 Apr 2024 by Graeme_Grant
Nostalgic trip... I used Google Search: windows ce 5.0 get list of screens - Google Search[^] and found this: GetSystemMetrics (Windows CE 5.0) | Microsoft Learn[^] Has this paramater: Quote: SM_CMONITORS Number of display monitors on the...
31 Mar 2011 by Susan Marampudi
Hi,Im working on windows mobile application.I have some issues in this project.1. Im getting the map based on place where I get the latitude and longitude from database. In my project I have to find the Restaurant and it should be pinpointed in googlemap.2. If user wants to find the...
6 Feb 2011 by gaurish thakkar
Can anyone help me on how to start with the development of an application for the windows mobile platform for accessing a databse running on the remote machine.Please reply!
7 Mar 2011 by raghavendra S
I am developing a Windows mobile application in which I need to show the current location of a person using Cell Tower ID OR lat/long.I need to use Google maps or any maps like Yahoo Maps, Bing Maps or anything.I need to allow user to navigate to our Offices located around the...
7 Mar 2011 by Abhinav S
See Track your position using a Windows Mobile 6 device[^].
9 Mar 2011 by raghavendra S
Hi abhinav thanx for the replyActually I need non-browser based windows mobile maps application.Any suggestion or reply is welcome.
12 Mar 2011 by Member 7747907
Hi, i want to send an email through smtp using windows mobile 6.0 application on C#,i tried many things first was the outlooksession but that didn't work out cause there is no outlook on the mobile emulator, then i tried the webservices and that didn't work out and it kept giving me an erro...
13 Mar 2011 by Member 7747907
sorry man, that didn't help at all.if anyone could at least give me a place where to start, i have tried the smtp method and i am using it on web applaction. thanks
18 Mar 2011 by raghavendra S
I need non-browser based windows mobile maps application.Please suggest a solution for it.
23 Mar 2011 by naveensiva
hii need to install windows embedded CE in my sys now im usig xp SP2.i have windows embedded ce 6.0 and windows embedded ce6.0 R3 with R2 editionsi dont know which one i have to install can you suggest me for successful installation and can i know whether it is supported in windows 7 or not
25 Mar 2011 by VikashGohil
Hello, this is Vikash Gohil.I have an asp.net 2.0 application created with C# back end and Ajax control toolkit.Can I run this application under Win CE as it is after compiling or is there any compiler or tool for converting .Net applications for running on Win CE?Please any help...
27 Mar 2011 by sowmya.obs
For increasing performance and speed I want to compress data in windows mobile.
27 Mar 2011 by Ramalinga Koushik
Hope this[^] might help you.
28 Mar 2011 by sowmya.obs
Hi All,I have a requirement to Compress an XML file and send it to server. At the moment I am using C#.net. For example a 12MB file was compressed to a little less than 4MB.How Can I solve?
28 Mar 2011 by sowmya.obs
how to call https web service in windows mobile application?
28 Mar 2011 by Ramalinga Koushik
Hope this[^] might help you.
28 Mar 2011 by sowmya.obs
No this solution is not use full,I want to call a https(HTTP OVER SSL)web service in c#.net with out adding any web reference,My app is windows mobile(It is not related to ASP.NET(not a web application))
1 Apr 2011 by xiaboyang
Hello, May I ask, how to write C++ Bluetooth virtual serial port on the WindowCE in the process? Can write a demon program trouble? Thank you very much!
5 Apr 2011 by sowmya.obs
Hi,I am trying to find a library to parse JSON on C# on Windows Mobile (working with Visual Studio 2008). The libraries that I have found that allow me to parse JSON in C# (litjson and Jayrock) don't work on Windows Mobile, they require classes that are not present in the .NET compact...
5 Apr 2011 by Manfred Rudolf Bihy
Use JSON.NET: http://james.newtonking.com/projects/json-net.aspx[^] it supports the 3.5 compact framework.Happy coding!
11 Apr 2011 by tommy987
Hello!I have a huge problem with the data exchange of a server database and a mobile database( sdf ). At first I load the data with a normal select from the server to my DataSet and theni set the table rows to added and use the DataTableAdapter.Update() command to fill the mobile...
11 Apr 2011 by Wendelius
Seeing the code would help, but did you:- accept the changes in the datatable after inserting- clear all the rows from the data table before re-inserting (I mean you don't have duplicates in the datatable)
11 Apr 2011 by congpchen
hello,i am trying to use OPC(as a client) in wince these days, to access to an OPC Server in XP, in this way i know have to add DCOMCNFG.exe,RegsvrCE.exe,NTLMUser.exe, however, i don't know haow to do this step? can someone be familar with DCOM in wince? thanks!
12 Apr 2011 by tommy987
The "table" variable is my full loaded DataTable from the ServerDB.So I try to delete the whole table in my mobile Ce DB and then to insert the data in this one.The first time it works, the second time it fails because of the above mentioned primary key violation.I think the...
13 Apr 2011 by Guyverthree
Usually it's a version problem. In the Cab file is a field called VersionMin which is filled in with the windows version that the CAB has been created to be used with.It most likely that you are doing the right thing (Cann't tell 100% as you are not list exact commands) but that the other...
20 Apr 2011 by prashanthv
Hello I have some issues in my compact framework project..error is::: system.winodows.forms.datagridcurrentcell._MoveToRow( int32 irow,boolean,boolean fUnselect) ........ If i rum program in WINDOWS SERVER 2003 OR XP no issues.. If I run my application in WINDOWS CE i am getting...
15 May 2011 by Medo-I
HelloI already finished my project using C# for Windows CE Device.I have the cab file and it is working good on my Windows CE Device, but unfortunately I lost the source code of this cab, and I have to do some changes to this project. It will be very difficult for me to start from...
26 May 2011 by MasterWill
Ok I reinstalled the Windows CE 5.0 Standard SDK, and it just now appears inVisual Studio, seems to work now. I was assuming that Pocket PC 2003 was thesame thing and was attempting to run for that. So the root cause of theproblem is Microsoft's confusing naming convention.However I...
14 Jun 2011 by Albert Holguin
You posted them on this site? ...if so, you're probably better off asking for help in the Site Bugs/Suggestions[^] area.The Q&A area is for development questions.
30 Jun 2011 by Patricia Bigelow
This type of problem usually occurs when setup.dll is missing from your computer. This dll file can be downloaded from here. http://dllcentral.com/_setup.dll/12.0.58860/Download it and then extract the downloaded zip file to the Windows System32 folder, which is located in Windows Drive....
11 Jul 2011 by militico
i'm having a problem with Sql Server compact reporting the error : - "OS Error: SQL Server Compact encountered a premature EOF for the database file. Running the repair utility might help recover some data." I develop with Visual Studio 2005 with .NET CF 3.5 in CE 6.0 This error...
29 Jul 2011 by Cloud Hsu
Dear Sir, I need to implement a Win32 DLL and need call it by C# DllImport in WinCE. So I create a Win32 Smart Device Project and choice Windows Mobile 5.0 Smartphone SDK, and create a dll project with Export symbols option. Then I add extern "C" key word before function...
1 Aug 2011 by Cloud Hsu
I try to install WinCE Standard SDK 5.0 in my computer and create a standard sdk project.Then I select x86 CPU to build dll, and the dll can work.
3 Aug 2011 by Member 8117101
Does anyone know how to create a security sandbox (or security setting) for Flash Player 10 that is included as part of Windows Embedded Compact 7? Following a document from Adobe, I was able to make it work (i.e. creating a FlashPlayerTrust folder with a configuration file) in Windows XP but...
3 Aug 2011 by mrudulaac
I want to add USB HP printer drivers with WinCE6.0 Image file nk.binwhat should i do?Best RegardsMrudula
19 Aug 2011 by jalalsavber
Hello Every BodyPlease Help MeHow Read Tag RFID with Handheld(WIN CE 5)Please Send Sample with C# Tnks Honey
19 Aug 2011 by TheyCallMeMrJames
Out of the box Win CE5 does not support RFID. You would have to have a device attached to whatever unit you have (possibly built in) and a device driver installed.From there, you're going to need the manufacturer's SDK. Even if they serve the data over something simple/straightforward...
13 Sep 2011 by Member 7771060
Hi,I am working on a WinCE 5.0 project in that i need to include a spell checker. I am trying to use SPLUSA.LIB provided by wince.M addind SPLUSA.LIB under SOURCELIB. and trying to initialize dictionary with function SplInit() provided by SPLUSA.LIB, but it is always failing.SplInit( *...
2 Oct 2011 by EsmatB
Hi,I wrote a code to communicate with serial port ("com1:").Under win32 API this works properly. In evc4, the same code compile without any error and establishes the link with ("com1:") but when it executes the readfile statement: song=ReadFile( hComm , // handlePort_:...
3 Oct 2011 by Madhu Nair
Try DWORD dwError = ::GetLastError(); and call FormatMessage[^] to get the error details.
9 Oct 2011 by Medo-I
Hello allI have created a application in my WindowsCE device by C#, and this application saves data in the WindowsCE device.Now i want do synchronization between WindowsCE device and PC, when i connect the device to the PC by USB cable this application should transfer the data from...
10 Oct 2011 by Sergey Alexandrovich Kryukov
There can be a number of solutions, In particular, with Windows CE v.5.0 or later, you can use the "USB Mass Storage Function Driver" to expose its local storage device to be shared via USB.See http://msdn.microsoft.com/en-us/library/ms905330.aspx[^].—SA
13 Oct 2011 by sowmya.obs
In windows mobile application I have a form which performs some asynchronous code. I want to display a wait cursor when it starts, and hide the wait cursor when it has completed.This part works fairly well, using:method startingCursor.Current = Cursors.WaitCursor;and method...
6 Nov 2011 by Member 4079860
Describes a process to load/unload built in drivers under WinCE at run time to speed up development process
10 Nov 2011 by Romain TAILLANDIER
http://www.opennetcf.com/padarn.ocf[^]
28 Nov 2011 by geocare
I have read this article:http://www.cryptopp.com/wiki/Windows_MobileAnd download the project winmobile-cryptopp.zip, using this project I got the lib.But when I add the lib file into my wince project, I got error:fatal error C1083: Cannot open include file: 'intrin.h': No such file...
2 Apr 2012 by ajaiisnow
Hai, my requirement is to draw a line over a bitmap loaded into memory. i am working in WinCE. The code i wrote is like this, HGDIOBJ hPrevObj = 0; HGDIOBJ hPrevObj1 = 0; BOOL bStat = 0; dwError = ::GetLastError(); hDCMem =...
2 Apr 2012 by Sergey Alexandrovich Kryukov
It is not "reflecting" because you don't do anything to render the graphics in the window. You need to render in response to WM_PAINT Windows message. Even if you do, your changes might not update the view, because nothing triggers sending this message. In this case, you also should call one of...
24 Apr 2012 by Alex-1978
Hi everybody.I have a Windows CE 6 powered device with a camera. A test application from Microsoft CameraDShowApp.exe works partly, it does capture the video and pictures from the camera but doesn't display live video correctly.I've tried to use a SampleGrabber implementation...
14 Jun 2012 by Rajesh G Manwani from Mumbai
I have an ActiveX control using GDI/DirectX/COM technologies developed on Windows. I want to put it on WinCE. What is the simple way to do it? How shall I find out what functionalities will have to be dropped to make it run on WinCE? Also, with WinCE, devices will have much lesser memory than...
17 Jun 2012 by Eugen Podsypalnikov
Try to make a template (example) CE control by the VS wizard.Then share your "processing" (drawing, reactions, ...) code to this new project :)
4 Jul 2012 by Eugen Podsypalnikov
A workaround to convert UTC to the LocalTime, in summer but without DST flag
21 Jul 2012 by nsg_questnetltd@yahoo.com
Hi,I am trying to add a web service to my win CE project.I added the webservice successfully and test it in win mobile 5.0 emulated and it worked properly.but when i test it in a win CE device it encountered a low memory Error.this is my code: MobileService s = new...
22 Jul 2012 by woutercx
It seems like your code is not the problem but the device. It could use some memory upgrade. Since it is a normal thing you're asking of it.. But if that's not possible, maybe you could solve it at a lower level by talking to the webservice in the underlying soap.But it would be like going...
22 Jul 2012 by nsg_questnetltd@yahoo.com
But I have 512MB of ram on my system, and it is not seems to be low for such a small request in web service.I think there is a problem in my internet connection.I set up the adapter setting of my windows CE just like my computer.but I don't have IE in my image to test it.
14 Aug 2012 by Member 9314292
I have implemented a subproject(Camera driver) whose output is a dll to an already existing BSP(Board Support Package) and I want to deploy only this dll and its dependencies in a .cab file. All links i got through google specify deploying applications and dll...none speak about only dll...
22 Aug 2012 by Moosavi S.M.
hey peopleis there any ORM for vs.net 2008 compact framework 3.5?i'm working on a win ce project at our company and i need to convert xml to sql dbxml contains db scheme, that's all!any help would be appreciated!
22 Aug 2012 by Sergey Alexandrovich Kryukov
I don't think that creation of database out of XML with the schema means "Object-Relational Mapping". :-)As to ORM… — the question is about ORM, right? — perhaps not in .NET FCL itself. First thing which comes to mind is the ADO.NET Entity Framework, an open-source...
24 Aug 2012 by pasztorpisti
If your project is small and you are not planning to port it to other platforms in the future then it works like you mentioned in your question. If you want to port your code by keeping it linux compatible and maybe you want to port it to a lot of other platforms in the future then you should do...
26 Aug 2012 by dkaku
Hello seniors,Can some one explain me how can we use pthreads(api's) to port a C++ code for Linux platform to Wince platform.I am assigned a task to port a c++ code from Linux to wince.The original code files are available...
28 Aug 2012 by dkaku
Sir,While porting my code from Linux to Wince i am having build errors regarding the unknown identifiers SIGALRM and SERVICE_TABLE_ENTRY.Can someone please provide the implementations of these identifiers on Wince?
14 Sep 2012 by Mr. Mahesh Patel
hi experts,I have one WCF Service deployed in Windows 7 computer.It is working fine.I have a Desktop Application of compact framework 3.5 in WinCE 5.0 Device which is connecting above service at every 30 second.It is some time working fine. but some time it is giving below error...
18 Sep 2012 by joshrduncan2012
Does anyone have any advice on why when I execute a program in Visual Studio 2012 my SQL Server CE local instance keeps losing connection? It's connected while I'm working in designer or code-behind, but when I execute the program to run it, I see a red X next to the database instance.
18 Sep 2012 by Aron Jay
Same here. Even after I do Imports System.Data.SqlServerCe, sqlceconnection, sqlcecommand and others are not available.
12 Oct 2012 by aasikRaja
No need to set resolution for VideoRenderer.Configure your capture device using IAMStreamconfig interface is enough.1.First add your filter to the Filter graph and then using capturegraphbuilder object to query interface IAMStreamconfig.2.using GetFormat(AM_MEDIA_TYPE ) from...
17 Oct 2012 by Mukesh_Chauhan
visit:http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/thread/cdc31abf-8c9a-4fd8-a868-b787c5a6b441[^]
21 Oct 2012 by ThripleKill
Hi,I put all my controls in one form.There are about one TabControl with 60 more TabPages in it,And hundreds of textbox and datagrid and other controls in these TabPages.When I want add more controls,in the debug running time,it throw a "outofmemory" excepation in the...
23 Oct 2012 by premprakash999
Hi aasikRAja,Can u please give us a sample project for this. I have tried the above listed steps but failed.
23 Oct 2012 by ayat abukhadra
Hello, Is there a way i can install Arabic language in windows CE or i have to install an Arabic version of Win CE ?