windows-ce

Build Boost for Windows CE 5.0

Does anyone have a set of instructions for building boost libraries for use on Windows CE? I've found some discussions on it: boost build mailing list and another one from the boost build mailing list ... but surely someone has written up something more concrete... ...

Serial port library/header file in C for WinCE

Hi, I am a newbie in WinCE application programming. But the starting is not as smooth as expected. I could not find code examples, tutorials to learn from. I could not find a book on WinCE programming. Are all the libraries and header files for winCE same as for windows (WIN32)? I am programming in C. I want to use serial port communi...

QT / CE on Windows CE 6.0, app won't run

I'm a .NET CF developer trying to move to QT/CE. I'm trying to port one of my app written in .NET CF to QT/CE targeted run on Windows Embedded CE 6.0 GPS made by China. I don't have access to original SDK (china manufacturers don't provide them) so, as QT mailing lists suggested, I used Windows CE 5.0 Standard SDK as my option. Here is m...

is it possible to compile code for WinCE platform through VisualStudio in WIndows ?

Hi, I need to compile code written in Visual studio 2008 in Windows XP for WinCE mobile platform. How to do it in Visual studio 2008 by changing target platform settings ? ...

Hklm/Init on Windows CE 6.0

Hi! I've been trying to make my application run at startup on windows CE 6.0, unfortunately since the device (YFAtlas4) is customized by manufacturer I'm unable to place shortcut in \Windows\Startup. (for some misterious reasons) So now I'm trying to place path to my application in Hklm\Init registry key, and here's my problem: I's th...

NotSupportedExceptions thrown everywhere when debugging in windows CE.

I am doing some work on a windows CE 6.0 application. The application loads a number of external assemblies dynamically using. Assembly assembly = Assembly.Load(path); These .dll files are outside of the solution, but there are classes in each of them that implement a common interface. Once the assemblies are loaded the application l...

Broadcasting message to multiple processes (Point-to-Point Message Queue with multiple readers)

I want to share a data with multiple processes. My first attempt is to use Point to point message queue with multiple readers since I read that P2P Msg Queue is very fast. During my test, it seems like multiple readers are reading from the same queue and once a message is fetched by one reader, other readers will not be able to fetch th...

Hiding the cursor in Windows CE

I have a fullscreen application running on Windows CE 6.0 which will only be manipulated using the finger or a stylus. So I don't need the mouse cursor, which I'm hiding using Cursor.Hide(). However, when I use the stylus to manipulate something on the screen, the mouse cursor is printed while the stylus touch the screen. Is there a wa...

How to catch named event in Windows CE

Hello, In my project, I want to catch some named event from the system, like "IDH/Presence" or "IDH/AmbiantLight". How can I do that ? Edit: Is that possible with the EventWaitHandle class of the Smart Device Framework ? Thanks. ...

Run command line program silently with c# on wince

Hey everybody, I once again need some help. I'm using the .net Compact Framework and the programming language C# to develop for mobile devices that are running WinCE 5.0. What I want to accomplish is to programmatically mount a network drive. To do so, the app runs the following code in a background thread: ProcessStartInfo startInfo...

How do I receive input to a hidden textbox and submit a form?

Hello all, I have an ASP.NET application designed for a Windows CE device that needs to take in information from a scanned barcode. The device sends the scanned data as string input with a crlf to whatever field has focus. I set up my page with a textbox that takes the input and posts back to look up the item. Now, I'd like that box to...

Stack data alignment in windows CE 6.0

I have built a test for a driver in Windows CE 6.0 and some tests fail because memory passed in is not properly aligned. How can I control the alignment of auto variables on the stack (not inside structures)? Keep in mind that I cannot change this test in any way except how I build it. ...

how to focus on form in Windows-CE ?

hi i have this method: private void Form1_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == '1') { how to take focus on Form1 after i insert any text on TextBox thank's in advance ...

In WinCE, CreateFile function: File open failed

Hi, I need to do file operations in WinCE in a Windows mobile 6 project in visual studio 2008. For opening a file i did like below. HANDLE hFile = CreateFile(__TEXT("\\1.txt"), GENERIC_READ , FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); But hFile is coming as 0xffffffff. File ope...

dataReceived event in .net compact 2.0 for Windows CE 6.0 only works once for serial comm

I have simple serial port program that is supposed to read the serial port and echo back the characters typed. I can get this to work fine by polling the serial recieved with a timer, but I'd like to use the dataReceived event instead. For some reason the event will occur once but never again. SerialPort bsp; public Form1() ...

Can I install Android on WinCE platforms?

I had few pieces of hardware which run on WinCE 5 and 6. I wanted to know if there was any program I could use to install Android on it without having to write drivers etc for it. I am looking for a solution similar to XDAndroid project but for WinCE systems. Thanks! Please let me know what options I would have on this. ...

Cheap development board for Windows CE

Hi, I'm looking for a development board for WinCE, preferably with the following connectors: VGA/DVI for screen USB for kb/mouse Ethernet (10Mbit is OK, 100 would be even better ;-) ) Storage (eg: SD/MMC/CF cards) I'm looking for this, because I want to attend the Imagine Cup , Embedded Systems design. And I'm looking for a challeng...

how can i color titlebar in mfc in winc

i am trying to change color of titlebar but as onncpaint is not supported by winc what to do to color non client area like title bar? ...

how to update date & time & region on Windows CE ?

How can I update date & time & region on Windows CE? I need any C# code for this. for example: i want to update to: 21/12/2010 05:34 (region format dd/MM/yyyy) Thanks in advance. ...

how to do this: i press 'G' on textbox and i'll see 'A' ?

hi how to do this: when i'll press 'G' on textbox in my form i'll see 'A' ? in C# code (windows-CE or Windows-mobile) thank's in advance ...