windows-ce

Code Coverage report on unit tests for Windows CE code using TFS 2010

I have a unique combination of platforms in my solution that has stumped me. We need to generate code coverage statistics for unit tests that we're writing for our Windows CE code. We're using Visual Studio 2008 to write the CE code, of course, because VS 2010 doesn't support smart devices. Unfortunately, MSTest won't instrument CE ass...

MFC application: Embedded batabse on windows mobile 6 SDK return with an error while writing to DB

Hi all, I am implementing a database on wince platform in EDB. I have created and successfully tested all database operations in MFC simple dummy database application. But when I have integrated database API into my project it create problem. Scenario: I am able to create database using CeMountDBVol(...) API with EDB flag on. A tabl...

PING error code 87: what is it?

When I ping from windows CE I got ping error: PING: transmit failed, error code 87 But only some IPs can be successfully pinged. What does this mean, the 87 error? ...

For IP Set top box - Win CE or Linux?

We are manufacturing an IP set top box in India for IPTV market. We are looking at two OS options - Win CE and Linux. Can anyone help us in selecting the best one in these two operating systems? Which one is better in terms of reliability, scalability and cost viability? ...

Killing a WinCE device process from a desktop app

I'm copying files from the desktop to a WinCE device (via the RAPI API), and if the main WinCE program is running, I need to kill it, update and restart it again. So far, I manage to copy the files and start the main program with no problem, but I cannot found a way to terminate a process via RAPI (there is a CeCreateProcess function bu...

Console application in C++ for smart devices (WinCE) ?

Hi, I am new in developing application for WinCE 5.0. I want to start from "Hello world" program or console application. But I couldn't find anything like that or any other sample applications to start from. I am using Visual Studio 2005. I created new project >> visual C++ >> Win32 smart device project >> console application >> finish....

WinCE and SqlServerCE database Connection

Dose windows mobile 6 SDK support sqlserverce database operations into MFC smart device application? I can create database on sqlserverce using COM components, but I dont want to use it instead will prefer windows mobile 6 SDK. Is it possible? ...

Which is the first build comand to be used after a fresh installation of VS2005 and platform builder.

I have installed VS2005 Then PB with all R1 and R2 and other releases. Now I create a new OS project select one of the bsp default installed. Set it to release build Next what.... From Build menu what to select. Please note this is first build of any os on this PC. ...

use coedll.dll sendmessage for board watchdog

Hi I am trying to use the watchdog for an Icop voretex86 board. However, the code does nothing. Am I using the senmessage of coredll.dll in in the right way? my code: [System.Runtime.InteropServices.DllImport("coredll.dll")] public static extern int SendMessage(IntPtr hWnd, WM Msg, int wParam, int lParam); public enum VK ...

Exception on Cursor.Current = Cursors.Default;

Hey, I'm developing a compact framework 3.5 application on a windows CE based scanner device. When I'm calling a webservice I'd like to display the wait cursor with Cursor.Current = Cursors.WaitCursor; This works fine. However when I try to reset the cursor to its default state with the statement Cursor.Current = Cursors.Default; ...

How to save datetime in EDB database

I want to save datetime into the EDB database. I tried storing the value by converting CTime to CString. But after reading not able to convert CString to Ctime. Ask the same question on stackoverflow, yet no responses. Here are EDB database datatypes. Can I use CEVT_FILETIME? If possible please give me an example. ...

Anyone had trouble with sscanf() stack usage on WinCE?

Hunting down a stack overflow crash in a WinCE 5.0 C++ application, narrowed it down to a _stscanf( astring, _T("%*s %02d\n"), &aNumber ); call made on the end of a long chain of modal dialogs, with an value of _T("LEVEL 01"). Analyzing our exception handling stack frame logging and comparing stack pointer from the last stack frame ...

How can I redirect a HTTP POST request immediately after the headers are processed?

On Windows CE, I am currently in a situation where we implement a simplistic web server from scratch. The predominant use of this server will be in a one-to-one USB RNDIS connection. The server is hosted by the managed application running on the device. Therefore, we tightly integrated POST request handling with delivered web pages. Ins...

How to create applications for Windows CE

Hi, I'm new to the CE environment and I was wanting to create applications for a computer(Intel) running on CE(5 and up). What exactly do I need to to get started and where do I go? I have never used CE before but I do have experience writing code in C, C++, C#, and Java. Thanks, ...

any API to change system date/time on WinCE

any API to change system date/time on WinCE? ...

EBusError on assigning PageControl fpc/Lazaurs

I am trying to create dynamic TTabSheets for my program. Written in FPC/Lazarus being built for ARM/WinCE Everything works, including design time created tabsheets but the following code try Tab := TTabSheet.Create(PageControl1); logit('1'); Tab.PageControl := PageControl1; logit('2'); Tab.Caption := gname; except on E...

VoIP application in windows CE

Hi all, I want to develop VoIP application in Windows CE based device and included .NET compact framework 3.5 with C#,but I am newbie where do I start? Any API,samples? Thanks for your answers.. ...

Need to control a serial port via .NET. What HW/SW choices to I have that run CLR 2.0?

I need to control 128 different serial lines via .NET (simply because I know it). I hear there are various Basic Stamps available, and then some XP, CE, Micro, and Embedded options available to me. /update: My plan is to have a MUX of some type break down my serial line into a specific address. I'm not planning on having 128 individu...

How can I play .ogg, mp3, without Directsound libs in Windows CE 5.0 (Build 1400) in C#?

I've been facing a road block in trying to incorporate .ogg and .mp3 files in a WinCE 5.0 (build 1400) environment. Many of the answers I've found require some part of the Directsound libraries which are no longer supported. Is there any way to implement playing of .ogg and .mp3 files on WinCE 5.0 without using Directsound libraries? ...

Customized UI - Windows or Linux?

I'm not sure if this is possible, but I'll give it a go. I'm creating a device where I have to add a customized user-interface instead of the normal operating system UI. I'm thinking of installing Windows CE (or .NET MICRO) or Linux, but I'm not sure which OS would let me do this. Also, the software (UI) would load instantly and doesn't...