Click here to Skip to main content
15,889,863 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 Updated

WinCe 

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[^]
23 Nov 2016 by #realJSOP
I believe you need a fully qualified path (including the drive letter).
11 Sep 2014 by /\jmot
did you set the provider to the conectionString?? if not then try like this.."Provider=SQLOLEDB;Data Source=.\\SQLEXPRESS;Initial Catalog=TestDB;Integrated Security=SSPI;Persist Security Info=False"
26 Oct 2012 by __John_
In theory you should never need to kill a thread with thread.abort()That is why thread.abort() throws an exception.The thread will terminate when it exits its main procedure.
28 Jul 2014 by _Amy
I think it's because you have not defined WirelessNetworkInterface object to anything by default, so the compiler flags this as undefined behavior. Try setting it to null before you use it in your program. And also it's good practice to initialize reference types to null if you don't assign...
16 Apr 2013 by Aarti Meswania
Try thisSELECT * FROM Products WHERE strProductID = N'2345'Happy Coding!:)
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...
7 Mar 2011 by Abhinav S
See Track your position using a Windows Mobile 6 device[^].
12 Mar 2011 by Abhinav S
This[^] may help.
5 Feb 2014 by Abhinav S
No it does not. This blog explains why - Stored Procedures and SQL Server Compact - the Great Debate[^].
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 =...
19 Mar 2013 by ajaiisnow
Hi,i am writing to a file in USB and while in progress i removed the USB. In the code i am using fwrite to write to the file. i put a try{} catch(...){} block to handle the exception. Exception wasn't getting caught. i have a requirement to upgrade the firware from USB. so i am using fread...
10 Jan 2015 by ajaiisnow
Hi, I am working with a code in Silverlight2.0 and C++ on WInce6.0 platform. This is meant to be a real time system. So in this i have screens where i have to blink a colon every 500millisecond( for time) and bar( implemented with a IXRRectangle) which has to show the variation of the...
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.
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...
24 May 2012 by Alex-1978
Hi everybody,I'm developing an application for Windows CE 6.0 using .Net CF 2.0.I have an auto-generated client for an ASP.NET web service.Is it possible to set the client in such a way it would use gzip/deflate compression when communicating with the web-service ?Unfortunately, I...
12 Jan 2016 by Amit KD
How to identify if the executable is 32-bit or 64-bit
12 May 2011 by anacba
I have a sample code that uses an ActiveX control on a MFC Dialog based application for WinCE. This sample application have a class that has calls to InvokeHelper in all functions. In the Dialog function DoDataExchange, the function DDX_Control is called where the wrapper is passed as...
27 Feb 2014 by Animesh Datta
Hello ,You can use SCOPE_IDENTITY() to get the latest Primary Key or Identity value.try like this way declare @id intinsert into tblname values(val1, val2)select @id=SCOPE_IDENTITY()thanksanimesh
18 Sep 2012 by Aron Jay
Same here. Even after I do Imports System.Data.SqlServerCe, sqlceconnection, sqlcecommand and others are not available.
18 Sep 2012 by Aron Jay
Heads up, I got it working.On VS2012 Add Reference, you have to browse and look for; C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\Desktop and select, System.Data.SqlServerCe.dll Note, the above was for SQLCE 4.0. More details below.Import it on your project and you're...
23 Feb 2016 by Artur Leonowicz
I have a SQLite database on a Windows CE device. It has a column called product_code. The values stored in this column contain both letters and characters. The first character is dependent on the department in which the product is, for example for Draught it would be D, for Spirits S. A sample...
7 Nov 2019 by Arun Ashok
Greetings,Can anyone have sample application for Import and Export Excel file data to SQLCE database table.I am using dot net 2008 to create an application which can work on Windows CE devices.I created the application with database as MyData.SDF. inside i created Product table with...
22 Jun 2015 by Arun Ashok
Hi ,First of all, i want to thank you for all the valuable comments and replies.Suddenly i realize that the problem is not because of the way, but it is because of my sheer negligence. I delete the entire coding and start fresh. This time, i made it. The problem is of the file path is solved...
23 May 2013 by athancardenas
Hello guys,I need a functionality in my program (written in VB.NET) that detects whether the USB Portable Device (Windows CE 5.0) is inserted or removed. I have found a VB.NET code from the internet but it only works with USB Storage Devices... I only found codes and sample programs (written...
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 ?
16 Apr 2014 by B. Clay Shannon
I tried to post this at http://social.msdn.microsoft.com/forums/en-US/newthread/, but I kept getting the "an error has occurred in the script on this page" message.I get the err running my Windows CE app about not finding PInvoke.dll and sqlceme35.dllSo I searched for those; no...
29 Oct 2014 by B. Clay Shannon
I have a new Visual Studio 2008 project, whose Target platform is Windows CEI wanted to verify that, if possible, the Target .NET Framework is set to what I am hoping: .NET 2.0 (not .NET 1.1).Yet, when I select Project > Properties > Application tab, the "Target Framework" dropdown is...
30 Oct 2014 by B. Clay Shannon
In upgrading my Windows CE device, I ran into an issue ("can't find...sqlceme35.dll") that led me to this and thisI tried copying what are apparently the three key CAB files: sqlce.ppc.wce5.armv4i.CAB sqlce.repl.ppc.wce5.armv4i.CAB ...
24 Dec 2014 by B. Clay Shannon
From a C# app (Compact Framework, Windows CE app), I am trying to call a REST method on a server running on our internal network, but the call fails with "Could not establish secure channel for SSL/TLS ...System.Net.Sockets.SocketException: An existing connection was forcibly closed by the...
29 Dec 2014 by B. Clay Shannon
I have a handheld client (.NET 3.5, Compact Framework, Platform == Windows CE) which needs to call some REST methods. The server is using ssl. I can access the remote machine from the handheld, but it won't return any data because of its ssl-ness and not trusting the client.Based on some of...
9 Oct 2013 by balaji.bankapur
Hello,I want a fixed base address for the dll which loads on win ce 6.0.I need this for a dll which does integrity check based on the preferred base address given during link time. If loader wont find the preferred base address, it will rebase the dll to other location, because of this...
7 Oct 2014 by baranils
HelloI have a strange problemI have a Mobile Appplication Written in C# Mobile Windows CE That application try to connect to an Sql Server DB via Wifi networkWhen I debug I connect via USB from my Windows 7 Machine or an old XP Machine using VS 2008Today I need to make an update...
30 Jul 2013 by Behno0o0oD
Hi everyoneI want to set the windows CE time by C# code.It seems that I need to use some dlls. I will appreciate any help (code samples)TnX
13 Aug 2013 by Behno0o0oD
Hi I want to have a class in order to connect and disconnect in windows CE 6.I have used wininet.dll and I can monitor the connecting process.but I want to connect to internet any time I want.I read some things about OpennetCFnd connection manager but they are not clear.could...
14 Aug 2013 by Behno0o0oD
what is the best way to get adapters by opennetcf namespace and it's classes in version 2.3.0.39???because there is no such method in this version.TNX
20 Aug 2013 by Behno0o0oD
HiI need to understand whether my dial-up connection is connected or is not connected.I have used this dll and code, but sometimes it doesn't give me correct answer:any other solutions will be appreciated, tnx [DllImport("wininet.dll")] private extern static bool...
20 Aug 2013 by Behno0o0oD
using OpenNETCF.Net.NetworkInformation; bool result = false; Ping ping = new Ping(); PingReply pingReply = ping.Send("www.google.com"); if (pingReply.Status == IPStatus.Success) result = true;
12 Jan 2015 by bling
If Control.Refresh() does not work, try this:http://stackoverflow.com/questions/4759572/how-can-i-refresh-silverlight-controls[^]
1 Apr 2015 by C3D1
Hey out there,i hope there is an Windows-CE guru out there who can help me.I had to connect a Windows-CE powered barcode-scanner to 3 different windows workstations and the only thing i know is, that the windows mobile device center allows me only to choose between one or two...
8 Apr 2014 by CHill60
See section 20.2.2 of this tutorial[^] from Oracle. It's in VB.NET but there are plenty of free conversion sites if you're not comfortable doing it yourself.From what I can see you will have to use Oracle Lite, Compact doesn't support Oracle 10/11g
22 Sep 2015 by CHill60
You will note on that link that it says the source code is available on A Restaurant and Waiter helper app in WPF and Windows Mobile[^] in CodeProject.If you have any further questions for the author, then use the forum at the bottom of that article.
3 Jan 2020 by Christian Graus
Clearly you don't have the DLL
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.
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!
14 Nov 2013 by corina.beer
Hi all, I am using Visual Studio 2008 on Windows CE. I am getting a weird stack overflow after calling the MFC function SetLocalTime. There is no code to step into and no call stack. Here is my code: void OnBnClickedButtonSet(){ SYSTEMTIME time, new_time; ...
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.
9 May 2016 by CPallini
Use the debugger. Moreover, as shown in the documentation page Configuring a Communications Resource (Windows)[^] call GetLastError to know about the reason of the failure.
11 May 2014 by DamithSL
check below linksHow To Print In Windows CE 5.0 Or Higher Without 3rd Party[^]Does Windows CE 5 have a standard printing system?[^]
14 Aug 2013 by Dave Kreskowiak
What makes you think anyone here has ever used that library? The chances of that happening are pretty slim. The best place to all this would be the forums on the site where you got this library.
16 Dec 2013 by DaveAuld
Have you had a look at this page;Testing for and Responding to Network Connections in the .NET Compact Framework[^]
23 Oct 2019 by David Lafreniere
A Win32 CreateThread() C++ wrapper class for synchronized thread startup and forced message queue creation.
6 Aug 2012 by DBAtti
Dear fellow Developers!I'm using Visual Studio 2008, coding for WinCE in C#.I made a form, where the user can select an image using a dialog box (an icon for an object, its parameters will be stored in a unique XML file). The chosen picture is shown in a pictureBox, the SizeMode is set to...
21 Jan 2015 by deepakdynamite
Is there any Microsoft Certification Available for Windows CE Framework ??Thanks in advance..
23 Nov 2016 by Devon Gtx Safe
I once again need some help.Im using the .net Compact Framework and the programming language C# to develop for mobile devices that are running WinCE 6.0.What I have tried:What I want to accomplish is to programmatically execute exe from c# without extension. To do so, the app runs...
10 Aug 2014 by Dilan Shaminda
//In Form1 Review_ClickDataTable dt = new DataTableNewReview frmReview = new NewReview (dt ); // here you can pass your DataTable as argumentfrmReview.ShowDialog();//In Form2public NewReview (DataTable ReviewB) { InitializeComponent(); dataGrid1.DataSource =...
25 Jun 2018 by Dirk Bahle
A quick guide to managing 100000'ish records efficiently with SQLite and C#/.Net.
23 Aug 2012 by dkaku
Hello seniors...I am new to this site.I have been assigned a task to port iperf( Linux code) to Wince platform.(source code is http://iperf.fr/download/iperf_2.0.5/iperf-2.0.5-source.tar.gz[^] The one available on the net is a gui based tool...
23 Aug 2012 by dkaku
Hello seniors,I am new to porting. I just wanted to ask that how should we proceed porting of a c++ code for Linux to a C++ code for wince.Do we need to just replace the header files and the library functions to do so?If yes can somebody provide me with a link that specifies the...
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?
16 Apr 2014 by DoingWork
Dear allDevice: Psion Teklogix Workabout Pro3Operating system: Win ce 5.0Action performed: In registry (HKLM / Init), entry Launch 80: explorer.exe has been replaced by Launch 80: myApp.exe.Problem occurred: After restart of device, device has been stuck at...
21 Dec 2016 by ductuan_itpro
This is my trouble:I want to write winform application with a Textbox to run in a PC. Then I use Motorola MC3190 barcode reader to remote to PC and run application to scan barcode code128 to textbox. But result data in textbox is incorrect:Exactly barcode: AFX015*BF02044701*300816*9Textbox...
13 Apr 2011 by DynamicScope
HiI am trying to install multi CAB files using custom Setup DLL. More precisely, after my application CAB installs, I want .NET CF 3.5 CAB file to be installed as well.My device platform is as follows:Windows Mobile 6 ClassicCE OS 5.2.1433Processor: ARM920TAnd I made my custom...
27 Oct 2016 by Eduardo Mireles
POOV is a programming technique for object-oriented languages developed in MIRA Software Factory by Ing. Eduardo Mireles and experts programmers. It facilitates coding software solutions.
7 May 2012 by emranallan
Black List Application in window mobile (Blocker Application)
11 May 2012 by emranallan
WINDOWS CE API HOOKING and Replace Function inside GWES.exe on all models since pocket PC 2003 until Windows mobile 6.5
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_:...
12 Mar 2015 by Estevão C Souza
Hi!Take a look http://managedserviceswm.codeplex.com/[^]Cya
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
23 Dec 2014 by Eugen Podsypalnikov
The OCX registering could be processed by the regsvrce.exe tool :)(the OCX should be loadable by the ::LoadLibrary(..) API on the target,then the pointer to its DLLRegistryServer(..) function will be retrieved and called)
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 Oct 2015 by FranzBe
This is the outline of what I have done:1) the .dll and .exe files for the CE device are stored in a database table like thisCREATE TABLE tbl_sys_modulfiles( file_name varchar(80) NOT NULL, file_size int NULL, file_date datetime NULL, file_version varchar(50) NULL, ...
31 Oct 2012 by Fresher16
Hello Everyone, I have created a simple App for Windows Embedded CE 6.0 device in Visual Studio 2005 using MFC and its running without any error but on my dialog box i have added 4 buttons but on display no buttons are displayed? Can anyone pls help me with that?
25 Nov 2012 by Fresher16
Hello everyone,Can anyone pls help help to assign Bitmaps on owner Draw Buttons created on WinCE 6.0 Platform. I have created a button using Tools on Dialog box and in properties i have set the Owner Draw to True but still after creating the variable of the buttons m not able to use the...
25 Nov 2012 by Fresher16
Solved it myself.....!!!!!!!!!
18 Sep 2014 by Ganesh11021423
Hello,I have a handheld device with Windows Embedded CE 6.0 Operating system.I want to configure Wi-FI connection in a device.I tried to configure in network and dial up connection, but there is no any setting for wi-fi connection.Do i need to install drivers for the wi-fi ?I don't...
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!
5 Feb 2014 by Gbenbam
Does sql server compact edition support Stored procedure?I stumbled into a googled article that said sql server ce does not support stored procedures.Can this really be true.(I realy hope not)?
5 Feb 2014 by Gbenbam
Does sql server ce have a maximum size limit that can be assigned to it? I know it has a minimum.
7 Feb 2014 by Gbenbam
I am writing a class to simplify database query on sql server ce the code I am rewring to suite my purpose is located herehttp://msdn.microsoft.com/en-us/library/windows/desktop/ms675047(v=vs.85).aspxCan the void pointer returned by SafeArrayGetElement function be casted into a C++...
11 Feb 2014 by Gbenbam
Please how is parameterized querying done with ado on sql server ce?I just wrote an excellent class which made querying database using ado to be much more simpler than it is in VB.Un fortunately my class does not use parameterized querying.I feel it should have such a capability.So can...
20 Feb 2014 by Gbenbam
I am learning how to use parameterized query using ADO on SQL Server CE.My question is, after appending parameters to the parameters collection, how does the comnand object tell the position of each parameter in the query.Let's say I have the following query:INSERT INTO Customers...
27 Feb 2014 by Gbenbam
Is there a function I can use to retrieve the unique id (talking about primary key) of the last insertion into a table?The issue is that I need to insert the ID of the last insertion as a reference ID in another table immediately.As it appears to me I may have to execute a select query...
27 Feb 2014 by Gbenbam
How are the result of execution of functions retrieved in ADO in sql server ce.Is it done via a collection, property or event?
28 Feb 2014 by Gbenbam
Given the following ADO code segment, how does one retrieve the result of the query.Must one use a variant what?MyCommandPtr->CommandType = adCmdText;MyCommandPtr->CommandText = _bstr_t(_T("SELECT IDENT CURRENT ('MyTable')"));MyRecordsetPtr =...
2 Mar 2014 by Gbenbam
How are boolean types and dates specified in ADO and in SQL Server?Does one specify 1 or 0 ; or true or false -> for the boolean types.For dates does one use the format dd/mm/yyyy or what?
19 Mar 2014 by Gbenbam
Can SELECT IDENT_CURRENT(TableName) be used outside a stored procedure?All examples I saw in msdn were stored procedure related.Is it that it is meant only for stored procedures or not?
20 Mar 2014 by Gbenbam
I understand that sql server compact edition has a lot of limits or restrictions , does it support common sql functions like avg?
22 Mar 2014 by Gbenbam
How does on get SQLSERVER CE to save date in british format i.e dd-mm-yyyy?
22 Mar 2014 by Gbenbam
How does one save and retrieve date values from sql server ce in c++?Ok.I have to get date from month_cal control in form of a SYSTEMTIME structure and save into sqlserver ce database.How do I do this.I thought of adding a parameter like shown below but don't know how to construct the...
9 Sep 2014 by Gbenbam
The code throws an exception on attempting to execute the indicated line ( at least so it appears from my debugging effort.Actually, I have never written and run a database creation code before. I realise I needed it and I wrote this and decided to test it before modifying to become the full...
11 Sep 2014 by Gbenbam
The following code works ( apart from the CREATE TABLE query) if I use the stated connection string, but fails to work if I use the commented out connection strings.Generally the CreateNewDataBase function works whether I use the commented out query or not.But the general problem is that...
11 Sep 2014 by Gbenbam
I was trying to connect to an sql server ce database that I had created and passworded.I was able co to connect to d the database with d the assigned password successfully using visual studio but when I tried to connect to it using code I get d the ffg following error message:Description:...
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...
27 May 2014 by gleard
I need to realize an MP3 encoder for Windows CE 6.0. I have iMX51 on board. Is there anyone that has something to propose?It can be file converter or stream audio converter.
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...