windows-ce

How to compile Qt 4.5.1 on Windows XP for WinCE?

I'm trying to compile Qt 4.5.1 on Windows XP targeting wince50. I have the prerequisites installed (VS2008, WinCE50SDK, ActivePerl 5.10) and have downloaded the qt-embedded-wince-opensource-src-4.5.1.zip which has been installed in c:\Qt\4.5.1 and c:\Qt\4.5.1\bin has been added to the path. From a VS command prompt, I navigate to c:\Qt...

Windows CE textbox Focus problem

I have a problem setting the focus back to a textbox. I run the same application both on Windows Ce and Windows Mobile 5 and the issue is only on WinCE. On a form i have a custom control (let's say a custom DropDown) and a textbox, after an item is selected in the custom control i want to pass the focus back to the textbox. The code lo...

What is the kbhit equivalent for Windows CE?

What is the kbhit equivalent for Windows CE? In particular, I'm wondering about windows CE 6.0. I guess more generally, is there a way to do non-blocking reads from stdin? ...

isatty on windows CE

Is there an equivalent to isatty() on windows CE? In other words, is there a way to detect in code if stdin/stdout/stderr has been redirected? ...

Where to find definition of CeCreateDatabaseWithProps

According to msdn it should be in windbase.h but it is not available instead it is in windbase_edb.h but cordll.lib is linked with windabase.h only. So, i want to know is there any method by which CeCreateDatabaseWithProps can be linked with a appropraite library? Thanks in advance. ...

Detecting network state (connected - disconnected) in C#

I am in need of a piece of code that can detect if a network connection is connected or disconnected. The connected state would mean a cable was plugged into the Ethernet connection. A disconnected state would mean there is not cable connected. I can't use the WMI interface due to the fact that I'm running on Windows CE. I don't mind in...

How to get a programmatic list of all loaded assemblies (referenced) in the .NET Compact Framework

I am running on Windows CE and using the Compact Framework. I need to get a list of all reference assemblies that my application has loaded. It would be nice to be able to get to the AssemblyName (object) of these assemblies. An example is like getting my running assembly by doing: Assembly.GetExecutingAssembly(); except I need to get t...

Windows CE Emulation @ 320x320 resolution

Hi, I am looking for a way to debug my CF application on a 320x320 resolution WinCE Emulator, currently all CE emulators in the device emulator have lower resolutions so i was wondering whether there is a registry entry or other way to force this resolution. Thanks in advance. ...

What is the best mechanism for communicating cross-process in Windows CE?

I need to broadcast an event that can be picked up by any application running on a Windows CE 5 device. Haven't done this before so i'd be interested in knowing what techniques people would suggest to see if there is anything i've not considered. All of the applications that need to receive this event are .NET Compact Framework based s...

.Net Compact Framework & WinCE Question

Hello, I have never had any experience working with the compact framework or WinCE, however, I have a fair bit of experience developing in C#. How different is it developing for these platforms as opposed to just normal console or winforms applications in C#? Easy to pickup or are there lots of differences? Regards ...

Play Flash file under WinCE?

Is it possible to play a Flash file under WinCE? I know there is a player for Windows Mobile but WinCE seems to not have one. I seems like you can license a player from Adobe for WinCE but I have not had any luck getting information from Adobe. I found this post that mentions using a AxShockwaveFlashObjects using C# and .NET Compact F...

Trouble using ReadFile() to read a string from a text file

Hello everyone, How can I make the code below to read correct text. In my text file has Hello welcome to C++, however at the end of the text, it has a new line. With the code below, my readBuffer always contains extra characters. DWORD byteWritten; int fileSize = 0; //Use CreateFile to check if the file exists or not. HANDLE hFile =...

Windows Mobile/Pocket PC: How do I change the border color of focused/unfocused CEdit, CListCntl, CButton in MFC or Win32

How do I change the border color of focused/unfocused CEdit, CListCntl, CButton in WinCE/Windows Mobile 5/6 with MFC or Win32 API? ...

C# Start process minimized/hidden on Pocket PC Windows CE

Hello! I am working on a application for a Pocket PC that runs on Windows CE. I need to start another process, however I need it to start Hidden or Minimized. Doing that on full Windows framework is no problem, I just set Process.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; or Process.StartInfo.WindowStyle ...

How do you disable the key click sound in windows ce?

Out-of-the-box WinCE (5.0 and 6.0) images with the shell seem to have a key click sound that plays on each keystroke. How can I turn this sound off, while leaving the audio system otherwise alone? (I still need to hear the audio from my application.) It doesn't appear to be a system sound (like window minimize or maximize) that I can se...

Changing a Windows CE machines IP address programatically?

How do I change the IP address of a Windows CE machine? I want to do it from .NET Compact Framework! ...

running device application in windows CE 5.0 emulator

i created a share folder and i saved the mobile application that i have created into this folder. in the emulator, i tried to double click on the .exe file of the application that i have created. however, the screen blinks a little and then nothing more than that happen. why is this so? what is the correct way to run a device application...

Are there any Windows Mobile client/server file synchronization APIs?

MS has a good file/directory sync framework called Windows.Synchronization.Files, but it is not available for Mobile! Does anyone know what the standard way is of getting this functionality on Windows Mobile? I know ActiveSync allows you to transfer and sync files, but so far I haven't been able to find the API that they use for this. Is...

Serial Port Spy for Windows Embedded CE

Is there a serial port "Spy" application available for Windows CE? By spy I mean an application that runs on Windows CE and can monitor the traffic going in and out of a serial device without modifying it. ...

eVB Good Tutorial

Hello, I have an Jornada 720 and i've just started to see some tutorials about the eVB(Embedded Visual Basic) in Pocket PC Developer Network: http://www.pocketpcdn.com/sections/evb.html and in the DevBuzz: www.devbuzz.com/Default.aspx , but i want a good tutorial that talks about all, because i didn't found something like this, and some...