windows-ce

64-bit Windows CE 5.0 Emulator

When attempting to run the Windows CE 5.0 emulator on my 64-bit system, I get the following error: "Emulator for Windows CE is incompatible with the host operating system. Emulator for CE will not run on 64-bit host operating systems.64-bit host operating systems." How can I run the Windows CE 5.0 Emulator under 64-bit Windows...

Determining CPU usage in WinCE

I want to be able to get the current % CPU usage in a C++ program running under Wince. I found this link that states where the source code is but I cannot find it in my platform builder installation - I expect this is because it isn't the Windows Automotive platform. Does anyone know where I can find this source code or (even better) k...

Windows CE vs Windows Mobile

I often see these terms: Windows CE Windows Mobile Pocket PC Windows Mobile Smart Phone I know the difference between the second 2, but I am confused on the first. I thought it was the name of the Mobile OS prior to Windows Mobile 5. But I am seeing it more often in current products. (Here is a current MS Form for developing on it...

WINCE problem LoadLibraryEx

Hello, I am using a WINCE framework for development called WINDEV. This framework has some DLLs that are to be loaded, but on some WINCE platforms, the loading (tested with a c program with the LoadLibraryEx instruction) does not work .... The results vary from one platform to another .... What are the hypothesis to be checked ? Th...

Get executing directory in C++

I have a .CAB file that runs as part of an installer process on a Windows CE box. The CAB is written in C++. The CAB file is ran twice as part of an upgrade process but in different locations at different times. How can I find out what directory the .CAB file is being executed from (executing directory) using C++ only? Thanks ...

Is there a faster way to remove un-referenced controls from a Form's designer file?

I started looking into the designer file of one of my Forms and noticed that a lot of the old controls I thought I had deleted are still being instantiated but are not actually used on the form. Is there any easy way to clean up these controls from the designer file that are not being used? Right now I've printed out a list of all the p...

SqlCE DB occasionally freezes on one handheld, not another

I have two types of custom handhelds which are similar, but slightly different, each running the same WinForm application and a WinCE database: Type 1: WinCE 4.2, 400 mhz, 93244 kb Type 2: WinCE 5.0, 520 mhz, 84208 kb Type 1 will happily proceed through a large batch db operation (initiated by the app), by Type 2 will consistently begi...

Visual Studio 2010 and WinCE 5.0

Is it possible to use a platform builder 5.0 SDK in visual studio 2010 for a C++ project. I want to compile code for a specific ARM WinCE 5.0 environment and I have VS2010 at the moment. The Microsoft website recommends visual studio 2005. I'm currently downloading the VS2005 evaluation but I'm also a bit worried about installing this o...

Does VS2010 support Windows-mobile projects?

I have Visual-studio 2010 prot and I am trying to create a Windows-mobile or Windows-CE project, but I don't see how to do it. Can anyone help ? ...

GDI+ functionality in .NET CF generic WinCE

There is no gdiplus.dll in my WinCE device, Is there any way I can get gdi+ functionality in .NET CF? I'm particularly interested in anti aliased drawing of polygons. (that's all I want). ...

How to programatically install a font in Windows CE

I would like to install a specific font on my program load and use that font in rendering text of the program. How can I programmatically install a font from .NET CF on WinCE 6. ...

What is the relationship between C and the Windows API?

I looked at some other questions on SO and its not clear if c is built on top of, under, or alongside the WINAPI. Like for example could someone write something in pure c that was able to open a window, or would they need to use the windows api? I noticed similarities between the c (library?) version of opening a file (fopen) vs the w...

Timeserver update rate on Windows CE

I have a Windows CE box that doesn't seem to synchronise its settings with the time server. I have ensured it is on and set the refresh rate to be low (5minutes) yet it still doesn't update. Has anyone had any experience with this? If I refresh the service's settings using services refresh ntp0: it will instantly update the time setti...

Pop-up keyboard in Windows CE 5.0

Is it possible force the build in keyboard to appear within a Windows CE 5.0 application? I am designing a project in C# and would like the keyboard or a numerical keypad to pop-up when the user has to input to the application. ...

Can deploy but not debug .NETCF 3.5 App to Device

I have a software application written for .Net Compact Framework 3.5 in VS2008. I can connect to my device via Activesync and deploy the application without problems. I can launch the app on the device after deployment without a problem. However, if I try to connect and debug the app, I get an unhelpful message that says "A serious erro...

Windows CE Samsung ARM9 device GPIO auxiliary power VC++

I was using a vendor provided GPIO dll for controlling power through an auxiliary power IO. The api was simple like callafunction(setportidentifiation,state) in vc++ . It was fine working. But it is not working currently. Calling the function does not respond.But with all other ports its fine ( LED,other set of Input / output ports). P...

How to stop SNMP from running automatically on Windows boot

I would like to stop SNMP from starting with Windows (WinCE 6.0 x86). I would then like to load it later at my convenience. Currently my registry settings are as follows, I tried Flags=4 but that didnt work either, neither does Keep=0. (MSDN Documentation). [HKEY_LOCAL_MACHINE\Services\SNMP] ;"Flags"=dword:4 "Keep"=dword:0 W...

Windows CE 5.0 full screen window with Windows API only

I'm trying to write a full screen application for Windows CE 5.0. I'm using CEGCC under Linux to compile my application, so I'm restricted to Windows API - i.e. no fancy GUI designer stuff, no Visual Studio, no MFC, no .NET. So far, I tried Microsoft's example using SHFullScreen, but no luck. I do not want to hide the taskbar globally (...

DRM over SD Cards safe?

I'm trying to implement a DRM based around SDCard's serial number in Windows CE. There are a few question I'm concerning. Is SDCards' serial numbers unique like the MAC address ? In Windows CE 6 (as some source codes are available, can someone make a SDCard Reader driver that reports wrong serial number. (A number that is not coming fr...

How to estimate size of Windows CE run-time image

I am developing an application, and need to estimate how much resources (RAM and ROM) it will need to run on a device. I have been looking online, but couldn't find any good tip on how to do this. The system in question is an industrial system. The application itself will need to have a .NET Compact framework, and following components b...