windows-mobile

Can't find referenced assembly when compiling for Windows Mobile

孤街浪徒 提交于 2019-12-22 18:49:49
问题 I decided to use tessnet2 library for my Windows Mobile 6 project. Unfortunetly while I am trying to compile it, it throws an error: The best overloaded method match for 'tessnet2.Tesseract.GetThresholdedImage(System.Drawing.Bitmap, System.Drawing.Rectangle)' has some invalid arguments The type 'System.Drawing.Rectangle' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' OK,

Windows Mobile 6 J2SE-scale JVM implementation

試著忘記壹切 提交于 2019-12-22 14:55:51
问题 Does anybody have experience of a decent J2SE (preferably at least Java JDK 1.5-level) Java Virtual Machine for Windows Mobile 6? If you know of any CLDC VMs, I'm also interested because even that would be better than what we currently have for the platform. 回答1: Yes, I've tried doing things with Java on Windows Mobile. I tried really hard. The best advise I can give you is: Stop right now, and start using .NET Compact Framework. Anyway, the two 'good' JVMs for WM are IBM-J9 and NSICom Creme,

Windows Mobile 6 J2SE-scale JVM implementation

橙三吉。 提交于 2019-12-22 14:55:46
问题 Does anybody have experience of a decent J2SE (preferably at least Java JDK 1.5-level) Java Virtual Machine for Windows Mobile 6? If you know of any CLDC VMs, I'm also interested because even that would be better than what we currently have for the platform. 回答1: Yes, I've tried doing things with Java on Windows Mobile. I tried really hard. The best advise I can give you is: Stop right now, and start using .NET Compact Framework. Anyway, the two 'good' JVMs for WM are IBM-J9 and NSICom Creme,

How to register form for WM_DEVICECHANGE message in windows mobile

a 夏天 提交于 2019-12-22 11:26:49
问题 I am using C# .NET 3.5 Compact Framework to write code.. please can any one tell me how do i register a form for WM_DEVICECHANGE and how to handle that message in WindowProc .. if I do this I get intimation of device hardware change.. I m not getting how to write please tell. Thanks 回答1: The key is to create a class deriving from NativeWindow, give this the handle of your form to call AssignHandle with, and override the WndProc function (allowing you to do what you want with WM_DEVICECHANGE).

How to add a button to a compact framework DataGrid?

橙三吉。 提交于 2019-12-22 07:28:07
问题 Is it possible to add a button to a column in the DataGrid for the compact framework? So far the only thing I can find is you can add textbox and that's it. What would be a good alternative to a DataGrid that can allow other controls? 回答1: You can use the DataGrid's public Rectangle GetCellBounds(int row, int col); with public event EventHandler CurrentCellChanged; public DataGridCell CurrentCell { get; set; } or public event MouseEventHandler MouseMove; public HitTestInfo HitTest(int x, int

Checking if a printer is attached

别说谁变了你拦得住时间么 提交于 2019-12-22 06:35:44
问题 Is there a way in Windows (which works in Windows CE) to check if a printer is attached and communicating to LPT1 in C++? [Edit] More info: We are currently working with a generic Windows CE printer driver - pcl.dll - by passing it into CreateDC , to get the DC for the printer. We can't call PrintDlg() to show the print dialog because it is "too complicated looking," but we also can't call it with PD_RETURNDEFAULT because we do not want to use the default printer. So, we are manually setting

Windows Mobile Cab Setup to detect .NET CF 3.5 and Install It

隐身守侯 提交于 2019-12-22 04:49:14
问题 I have developed windows mobile 6 professional application using targeted framework as .NET CF 3.5 and professional 6 SDK. Also created its SmartDeviceCab file. When I install it on device not having CF 3.5 it fails to run my application (because the device has .NET CF 2.0). Now I know that I must have NET CF 3.5 on the device where I want to run my app. How can I detect the current version of CF and install(if required) CF 3.5 from my cab setup. I have explored and gone through much on Setup

Docking and Anchoring on a Windows Form application

社会主义新天地 提交于 2019-12-21 21:42:54
问题 I'm developing an app for Windows Mobile 5.0 and above, with C# and .NET Compact Framework 2.0 SP2 . I have a WinForm with two panels inside (upperPanel and bottomPanel). I want that upperPanel always fill 2/3 of form's height, and bottomPanel fills 1/3 of form's height. Both panels will fill completly form's width. I've used this: upperPanel.Dock = Fill; bottomPanel.Dock = Bottom; But upperPanel fills the form completly. How can I do this? I want, more o less, the same gui on differents form

Windows Mobile Synchronization Error

三世轮回 提交于 2019-12-21 16:58:04
问题 I am new to Windows Mobile development and have been investigating methods to synchronize data between PDA's running WM6 and a SQL Server 2005 Database. After some research I decided to go with Windows Synchronization Services. I started by looking at the sample: SyncServicesForDevicesSample I downloaded and installed all the prerequisite software outlined in the readme including: Visual Studio 2008 Professional SP1 SQL Server Compact 3.5 Service Pack 1 (SP1) Synchronization Services for ADO

Unique Machine ID for a Windows CE Device

我与影子孤独终老i 提交于 2019-12-21 06:41:26
问题 I need to generate unique machine ID for a CE 6.0 device. On Windows OS, I was using the WMI to obtain some hardware identifiers from which I constructed this ID. Apparently, WMI is not supported on Win CE so I am looking for alternatives. At the moment I am playing with OS image that I have constructed in Platform Builder and testing my app in emulator, only later I will be delivered the real WinCE device. I have tried both GetDeviceUniqueID and KernelIoControl(IOCTL_HAL_GET_DEVICEID,... but