Questions tagged [windows-ce]

Microsoft Windows CE (now officially known as Windows Embedded Compact and previously also known as Windows Embedded CE, and sometimes abbreviated WinCE) is an operating system developed by Microsoft for embedded systems.

Windows CE is a distinct operating system and kernel, rather than a trimmed-down version of desktop Windows. It is not to be confused with Windows Embedded Standard which is an NT-based componentized version of desktop Microsoft Windows.

Microsoft licenses Windows CE to OEMs and device makers. The OEMs and device makers can modify and create their own user interfaces and experiences, with Windows CE providing the technical foundation to do so.

The current version of Windows Embedded Compact supports Intel x86 and compatibles, MIPS, and ARM processors.

Source: Wikipedia (Windows CE)

2701 questions
157
votes
7 answers

Why do I get the error "Unsafe code may only appear if compiling with /unsafe"?

Why do I get the following error? Unsafe code may only appear if compiling with /unsafe"? I work in C# and Visual Studio 2008 for programming on Windows CE.
Gold
  • 60,526
  • 100
  • 215
  • 315
70
votes
5 answers

What is the simplest way to write the contents of a StringBuilder to a text file in .NET 1.1?

I have to use StringBuilder instead of a List of strings because of being stuck with .NET 1.1 for this project. I want to write a series of debug messages I've written to a file to study at my leisure, as there is too much to see on the screen (the…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
38
votes
3 answers

How do I get the file HANDLE from the fopen FILE structure?

The fopen function returns a pointer to a FILE structure, which should be considered an opaque value, without dealing with its content or meaning. On Windows, the C runtime is a wrapper of the Windows API, and the fopen function relies on the…
lornova
  • 6,667
  • 9
  • 47
  • 74
36
votes
7 answers

Microsoft.CompactFramework.CSharp.targets was not found while opening projects

I tried to create a smart device project in Visual Studio 2008. Target Platform: Windows Mobile 5.0 Pocket PC SDK. .NET Compact Framework version: .NET Compact Framework 3.5 But I get the following error:
MARKAND Bhatt
  • 2,428
  • 10
  • 47
  • 80
35
votes
11 answers

What could be causing a System.TypeLoadException?

I'm developing, with VS2008 using C#, an application for Honeywell Dolphin 6100, a mobile computer with a barcode scanner that uses Windows CE 5.0 like OS. I want to add a functionality that can send files from the local device to the distant…
Mohamed Jihed Jaouadi
  • 1,427
  • 4
  • 25
  • 44
32
votes
8 answers

Windows CE vs Embedded Linux

Now I'm sure we're all well aware of the relative merits of Linux vs Windows Desktop. However I've heard much less about the world of embedded development. I'm mainly interested in solutions for industry and am therefore uninterested about the…
Quibblesome
  • 25,225
  • 10
  • 61
  • 100
31
votes
2 answers

PCIe driver for Windows CE and Windows Desktop

I need a little advice for development of a custom PCIe driver. The driver must support both Windows CE 6.0 and Windows Desktop (xp, 7, and 8 when ready). We have a lot of experience developing drivers for Windows CE but none for Windows Desktop. I…
Allan Larsen
  • 476
  • 4
  • 10
20
votes
3 answers

Developing .NET Compact Framework apps in Post-2008 Visual Studio?

I want to develop a Compact Framework App for a Windows CE 6.0 target device. Can I do this with Visual Studio 2013? If this is not possible, what would be a development environment for .net compact framework?
19
votes
6 answers

Console application not closing

I'm developing a console application that is supposed to run under WinCE 6.0 and WinCE 7.0. I'm using C#, Compact Framework 2.0 for different compatibility reasons. My application is started by an external runtime called TwinCAT (from Beckhoff).…
Andy M
  • 5,945
  • 7
  • 51
  • 96
17
votes
6 answers

Windows Mobile Device center stops working after Windows 10 1703 upgrade

i just installed new Windows 10 version (1703) and now i'm not able to connect any Windows CE device because Windows Mobile Device center 6.1 doesn't run. I tried to reinstall it but there is no way, the install process stops. Do i have to…
eddirelli
  • 173
  • 1
  • 1
  • 6
16
votes
4 answers

Serial Port ReadLine vs ReadExisting or how to read the data from serial port properly

I am reading data from serial port. The data comes off the scale. I am now using Readline() and getting data dropped even after I removed DiscardInBuffer(). What is the proper way to read the data from the serial port? There are so few examples…
sarsnake
  • 26,667
  • 58
  • 180
  • 286
14
votes
3 answers

Compile Boost 1.47 for Windows CE

There is actually a bit of information out there about people trying to build the Boost libraries for Windows CE, but no one has reported success or even given the steps required to do so. With the two latest releases (1.46 and 1.47) the release…
kyrofa
  • 1,759
  • 1
  • 14
  • 19
13
votes
8 answers

How to format a number with thousands separator in C/C++

I am trying to do this simple task. Just to format a number using C or C++, but under Windows CE programming. In this environment, neither inbue nor setlocale methods work. Finally I did this with no success: char szValue[10]; sprintf(szValue,…
jstuardo
  • 3,901
  • 14
  • 61
  • 136
12
votes
13 answers

J2ME VS Android VS iPhone VS Symbian VS Windows CE

I have very little idea about mobile platforms, though I am interested to program for them. Would you please compare J2ME VS Android VS iPhone VS Symbian VS Windows CE. I would like to know: which one is better which one should I choose and why if…
Sadi
  • 2,346
  • 4
  • 18
  • 31
11
votes
3 answers

Partly crashing application? How can I catch uncatchable exceptions?

I have a program written in C#, running on a Windows CE device (on Compact Framework). It processes minimal user actions (button clicks), uses serial port and TCP/IP communication. The problem is sometimes the software shuts down on its own. In the…
ytg
  • 1,755
  • 2
  • 23
  • 41
1
2 3
99 100