windows-ce

Detecting 'Network Cable Unplugged' in the Compact Framework

I've been through all of the Stack Overflow answers search comes up with, and neither Google or Bing are showing me any love. I need to know when a network cable has been connected or disconnected on a Windows CE device, preferrably, from a Compact Framework application. ...

Error in installing wince application via activesync on vista sp2

Hi all! I have created an installer for my wince application by following the instructions on this site http://msdn.microsoft.com/en-us/library/aa446504.aspx. And it worked fine on windows xp. But when I tried to install this using windows vista sp2, there is an error that says "Error 1001. An exception occured in the OnBeforeInstall eve...

Running on Windows CE 6 'and' Windows XP

Is it possible to create a small program that will run, without recompiling and without emulators, on both Windows CE 6 AND Windows XP SP3? From my knowledge, this isn't possible. Source code needs to be recompiled for the target platform. However, a hardware manufacturer for embedded boards is claiming otherwise. The application isn't...

Delete a registry value using a CAB installer

Is it possible to delete a registry key using a CAB installer that is generated using VS2005? The CAB is targeted at Windows CE 6. Edit: I did find this http://forum.xda-developers.com/showthread.php?t=415990, but I was hoping to find a way to do it using VS2005 or VS2008 and in an easier way. (I did not even start to try the instruct...

C#: How to cancel RasDial call?

Hello everybody, we are using C# with the .NET Compact Framework 2.0 on a Windows CE 6 device. I'm using the RasDial call to establish a GPRS connection when I need to transfer data between a server and the device. This all works nicely. However, sometimes when there's no signal, the call to RasDial takes forever and can only be stoppe...

Webkit on Windows Mobile

I wish to embed webkit in a windows mobile application. The goal is to allow it to run web apps. I've tried the Qt version, but only webkit is required and not the rest of the functionality Qt has. ...

ImageList and BltBit - ting

Hi I am having trouble in CE BltBit from a previously created compatable hdc to device's hdc. The following code works: hdc = pdis->hDC; FillRect(hdc, &(pdis->rcItem), (HBRUSH)GetStockObject(BLACK_BRUSH)); ImageList_Draw(himl, imageIndex, hdc, 15 , 30, ILD_NORMAL); However the following just draws the black rectangle and does n...

WebBrowser control - Need navigation error handling

Hey guys, I'm writing an app in C# on Windows CE 5.0 with .NET Framework 3.5 that uses the WebBrowser control. It's almost exactly what I need, with the exception that it throws a global exception when it fails to .Navigate(...) as opposed to an exception out of the Navigate call. I've found this article: http://msdn.microsoft.com/en-...

Why can I not enable breakpoints in Visual Studio 2005?

I have seen that sometimes breakpoints cannot be enabled in Visual Studio, they appear as empty circles, with a warning sign when enabled. This icon change is all the information VS gives. Particularly I'm suffering that in a Windows CE 6.0 project where I cannot enable any breakpoint in any of the sub-projects or in the OS design. The ...

How do I Connect to a Sybase Database from Windows CE using .Net?

I need to make a connection to a Sybase (SQL Anywhere) database in a Windows CE app over the network (wifi). I'm hoping someone in the SO community has done before and can't point me in the right direction. There doesn't seem to be a lot of information on the topic. I've tried google, SO and the sybase website. Thanks in advance ...

Getting the device's CPU utilization and free RAM on WinCE in C#

I'm looking for alternative ways of obtaining the total CPU utilization percentage and the amount of free RAM on the device in C#. There is an extremely easy solution described here: http://zamov.online.fr/EXHTML/CSharp/CSharp%5F927308.html However, the PerformanceCounter class is not included in the .NET Compact Framework 3.5. Are th...

Obtaining a timestamp in C# of when the WinCE device booted up

There is an approach described here: http://www.c-sharpcorner.com/UploadFile/scottlysle/TimeSinceBootCS06052008055807AM/TimeSinceBootCS.aspx However, it is not compatible with the .NET Compact Framework. Can anyone recommend a way to obtain the time (in seconds) since the system/device was booted up that's compatible with the compact f...

How To: Platform builder for windows CE 6.0

I am a novice to Platform Builder. I need to know how to work with platform builder. As I googled I was not able to find where to start from. Following is what I am looking for. What exact tools to download? As I searched there is no tool called as platform builder. So what to download. Any books or articles on the same. Walkthrough...

What are the major differences between Windows CE and Windows Mobile for a programmer?

What are the major differences between Windows CE and Windows Mobile for a programmer? I'd love to find a feature table, but haven't been able to find one on the Microsoft web site. I'm starting to work on a project involving industrial handheld terminals. I'm early into the design phase and need to find a comparison of Windows CE and...

Determine at runtime if Windows CE operating system is built against a particular processor type (eg. ARMV4/ARMV4I/ARMV4T)

Is there a way to determine if a Windows CE operating system is targeted against ARMV4 or ARMV4I or ARMV4T. I am aware of the IsProcessorFeaturePresent() API call on coredll however as far as I can tell, it only allows you to determine the presence of the thumb instruction set. What I really want to detect is if the O/S is built with ...

Non Blocking Keyboard on WinCE accessing the virtual keyboard

Hello Guys, I am desperately looking for a solution that enables me to read keyboard events in a non blocking way. These Keyboard events are generated by a VIRTUAL KEYBOARD that comes with the WinCE device. I have a console application running in C++, where the user is asked to navigate via 'ESC', 'U' and other characters through the me...

Network bandwidth assesment tool

I need to test the bandwidth I have on my USB RNDIS connection. I am using windows CE 6.0. I already tried looking into iperf for windows ce, but, sadly, I did not manage to compile it. Can anybody recommend of a tool/API to test the bandwidth under Windows CE? In case the answer involves an API, I am looking for something with minimal e...

Timers / Tap and Hold gesture problem in .NET CF

Hey, Ive encountered some strange behaviour in my .NET CF 2.0 application running on Windows CE 5.0. I have a timer updating a control periodically, that control can also receive Tap and Hold gestures from the user (in the mouse down handler). What I am finding is that when a TAH begins (but before it exits) a timer event can begin pro...

Why won't my program terminate?

I have a .NET Compact Framework app that can runs on three windows machines (Desktop windows and two WinCE machines) and on the WinCE devices, the process never terminates on exit, even if I call Application.Exit(). Besides .NET, it uses one COM component (which does everything on the UI thread). If I break into the debugger after exitti...

How to export a Project Builder for CE 6.0 subproject as a project?

I have an OS design project with some subprojects, I would like to try to compile one of this subprojects using the SDK of other platform. I don't have the BSP used to create this SDK, so I cannot simply add the subproject to a new OS Design for this platform. I think that the only way is to convert the subproject to a new project and co...