windows-ce

Whats the best way of finding ALL your memory when developing on the Compact Framework?

I've used the CF Remote Performance Monitor, however this seems to only track memory initialised in the managed world as opposed to the unmanaged world. Well, I can only presume this as the numbers listed in the profiler are way short of the maximum allowed (32mb on CE 5). Profiling a particular app with the RPM showed me that the total ...

Compact Framework - Lightweight GUI Framework?

Winform on CF is a bit heavy, initialising a lot of windows handles takes serious time and memory. Another issue is the lack of inbuilt double buffering and lack of control you have over the UI rendering means that during processor intensive operations the UI might leave the user staring at a half rendered screen. Nice! To alleviate thi...

How to compress JPEG images with ASP on Windows CE

The ASP page gets data uses that to draw a graph, I then need to save the image created to JPEG to be displayed on the browser and also used in PDF and other format. What is the best way to compress the image? I am currently porting a JPEG compression library to ASP but I think it will be too slow on this ARM device running Windows CE 6....

Default smart device project can't find dependencies.

When running the default c++ project in Visual Studios for a Windows CE 5.0 device, I get an error complaining about missing resources. Depends says that my executable needs ayghsell.dll (the Windows Mobile shell), and CoreDll.dll. Does this mean that my executable can only be run on Windows Mobile devices, instead of any generic Windo...

Save registry values in WinCE using a C# app

Hey all, I'm working on a WinCE 6.0 system with a touchscreen that stores its calibration data (x-y location, offset, etc.) in the system registry (HKLM\HARDWARE\TOUCH). Right now, I'm placing the cal values into registry keys that get put into the OS image at build time. That works fine for the monitor that I get the original cal va...

Does DataGrid on CE 5.0 Compact Framework .NET support editing?

I am trying to get a DataGrid under CE 5.0 / .NET CF 2.0 that a user can edit. The document at http://msdn.microsoft.com/en-us/library/ms838165.aspx indicates that some environments do not support editing - As there is no native support for editing in the DataGrid control, this needs to be implemented manually Do I need to im...

MSRS on CE 6?

I have a DSS service I created (For Microsoft Robotics Studio). I then followed the documentation to make it a compact framework service and created a deployment package. I then deploy it to a CE 6 device... Does a MSRS service work on CE 6? The documentation talks about CE 5? What should I see if I run it? I expect to see something sim...

Platform Builder command line building question

I'm building a project from command line , using WinCE platform builder , and I need RTTI to be enabled , so that my project works correctly . I tried setting the option RTTI="YES" in the sources and in the makefile of each dir , and I also tried to add it at the end of CDEFINES , but when I try to build the project , I get the D9025 w...

Any way to use Help.ShowHelp in Windows CE Core license build?

I am developing a Compact Framework 3.5 application for Windows CE 6.0. Help.ShowHelp() throws a NotSupportedException. At windowsembedded.com I found this statement: "Help is not included in the Core run-time because it requires a browser." Is this the reason for the exception? If so, is there any recommended way to get around this...

Automated Test Framework - Windows CE

Hello, Looking for a way to drive a Compact Framework app running on a CE device. All we basically need is to be able to write little scripts that press buttons and click on things. Anyone know of such a tool or it best to just hack one up ourselves? ...

Windows CE 5.0 image building: Possible without Platform Builder?

Is it possible to create Windows CE 5.0 images (ie: nk.bin) from VS2005/VS2008 without using Platform Builder? If so, how? Can a vendor BSP for WinCE 5 be loaded into VS2005/2008? Are there the parts to do this available for download from Microsoft (ie: the SDK), or must you buy the special bits (a la PB) from a "special distributor"?...

Sharing GDI handles between processes in Windows CE 6.0

Hello, I know that GDI handles are unique and process specific in 'Big Windows' but do they work the same way in Windows CE 6.0? For example: I've got a font management service that several other services and applications will be using. This service has a list of valid fonts and configurations for printing and displaying; CreateFontInd...

Available space left on drive - WinAPI - Windows CE

Hi, I've forgotten the WinAPI call to find out how much space is remaining on a particular drive and pinvoke.net isn't giving me any love. It's compact framework by the way, so I figure coredll.dll. Can anyone with a better memory jog mine? ...

Digital Right Management (DRM) forward lock in Windows Mobile

Is it possible to apply DRM forward lock to windows mobile applications? ...

How to communicate between CE 6.0 device (as server) and PC (as client)

We're in the process of developing a measurement device that will be running CE 6.0 with CF 3.5 on x86 embedded hardware, a PC is used to control the device and is connected with it using ethernet. We would like to communicate using interfaces (using DCOM (we know it is not supported by default on CE6), .NET Remoting or Web services)...

Using PostMessage in Windows Mobile to simulate a menu pick

I'm writing a routine to provide user definable keyboard short-cuts for any menu item in my Windows Mobile 5 application, which is in C++/MFC. To do this I am getting all of the available menu command IDs, and using the CWnd::PostMessage(WM_COMMAND,MyMenuID) to post it to the application. I use this technique to good effect elsewhere f...

Moving between dialog controls in Windows Mobile without the tab key

I have a windows mobile 5.0 app, written in C++ MFC, with lots of dialogs. One of the devices I'm currently targetting does not have a tab key, so I would like to use another key to move between controls. This is fine for buttons but not edit controls or combo boxes. I have looked at a similar question but the answer does not really s...

Using boost in embedded system with memory limitation

Hi, We are using c++ to develop an application that runs in Windows CE 4 on an embedded system. One of our constraint is that all the memory used by the application shall be allocated during startup only. We wrote a lot of containers and algorithms that are using only preallocated memory instead of allocating new one. Do you think it...

How to map caller memory in a Windows CE device driver past the end of a call to XXX_IOControl?

I'm implementing a ioctl in a Windows CE device driver that takes a pointer to a large chunk of application memory to perform asynchronous I/O initiated through an application call to DeviceIoControl. When using MapCallerPtr(), the pointer gets unmapped when the XXX_IOControl function returns; when the pointer is used in the IST it is ...

Displaying a Desktop Shortcut for a device having windows ce 4.2 (VS 2003)

Hi, I have developed a Windows CE 4.2 Application in VS 2003. When i deploy the CAB file in the device having X86 has its processor, a short cut for the application is created in Start >> Program >> Application. But I want a short cut for the application on the desktop. I modified the INF file to add a new shortcut that points to the ...