windows-mobile

Get a "sqlceqp35.dll" error when debugging but not when running deployed code.

In our current windows mobile project a problem while debugging recently arised. When trying to debug the code it throws an exception on the open command on a connection to the local database. The message is "A SQL Server Compact DLL could not be loaded. Reinstall SQL Server Compact Edition. [ DLL Name = sqlceqp35.dll ]". Sometime it's ...

Determine screen color depth/monochrome in .NET compact framework 2.0?

I'm using the .NET CF 2.0 on multiple devices which have different display capabilities (specifically color/monochrome) that I'd like to determine at run-time but can't find any methods that provide access to this information. ...

Windows Mobile 6 Application from WindowsCE

I have a game written in java working on windows CE now I would like to upgrade to windows mobile 6.x. what are the things I need to change/do? Thanks ...

optimizing controls Top-down by parent

Hello, According to this post http://msdn.microsoft.com/en-us/library/aa446535.aspx you can do some optimization on your code. I am wondering if anyone getting some success, as I've tried out and can't get performance. Regards, Pentium10 ...

Why is WMDC/ActiveSync so flaky?

I'm developing a Windows Mobile app using the .NET Compact Framework 3.5 and VS2008, and for debugging using the Device Emulator V3, on Win7, and seem to have constant problems with Windows Mobile Device Centre (6.1) connecting. Using the Emulator Manager (9.0.21022.8) I cradle the device using DMA in WMDC. The problem is it's so flaky ...

How to get a TCP socket with CSD data call bearer on Windows Mobile 5.0?

Hi everyone, I'm writing a mobile application which needs to connect to a server using dial-up ( CSD ) connection. An additional request is that it needs to use TCP over PPP ( the server is using such combination ). I know how to get the CSD connection using RAS API. But what I'm asking is how to get a TCP socket that "uses" this conne...

WinCE MFC checking for SIM card existen?

Hi, Is it possible to use WinCE MFC application to check if SIM card presents in device or not? thanks. ...

Serial port mapping doesn't work in WM emulator

I set COM2 for my USB serial port device and it appears as "COM2 serial port" in device management. Then I map the COM2 to serial port 2 in WM emulator configuration. But when I try to open COM2, it says COM2 doesnt exist. Then I use string[] allComs = System.IO.Ports.SerialPort.GetPortNames(); to check all the ports, find out COM2 is m...

Is it possible to use private IP address on GPRS connection

Hello, I need to connect my Windows Mobile 5.0 phone to the WAVECOM Q2686 processor acting as a server. The problem is I don't have a public IP address for the server side. I tried to solve it by using the CSD dial-up connection, where the all you need is phone number of the server and you can use any IP you want. But as of now I could...

MessageInterceptor is not called on HTC HD2

I've written a small windows mobile application, which intercepts incoming SMS and does some processing on them. After selling about 30 of these apps on windows marketplace I noticed a problem. The problem does (so far) only occur on one device: the HTC HD2. The problem is quite simple: I attach my program to a system service called Me...

Rapi.dll / OpenNETCF slow issues on Visual Studio

I am referencing OpenNETCF.Desktop.Communication (Rapi.dll) in my project and have the following problem: When I for ex. "private RAPI mobjRapi = new RAPI();"... it takes about 5 minutes to execute that statement. I am basically trying to copy a file from a mobile device An additional issue which might be related is that when I click "...

For a windows mobile app, building with Visual Studio in C++, how does one dynamically change a softkey menu to a button (and back)?

I am building an application using VS2008, in C++, for Windows Mobile 6 and I want to change the tool bar associated with the left and right soft-keys. I know how to change them between menus and buttons before compilation by changgin the resources, (NOMENU), however, as the demands if my application change I want to be able to change a ...

how to run any program when connecting any device through ActivSync

hi how to run any program when connecting any device through ActivSync ? thank's in advance ...

Windows Mobile: Radio button not available in WM 6.0 Standard SDK using C#?

Hello, I am developing a Windows Mobile application for Standard 6.0 SDK on C# language. I tried to add Radio button control in my application screen. But i am not finding any Radio button control in Tool box in this sdk? Doesn't it have? Is it possible to create using some other way? Appreciate your help on this. Thanks. ...

widcomm stack - How to use it?

I am trying to work out an application for Windows Mobile 6 that uses Widcomm Bluetooth for searching for devices and opens a com (with spp service). I put inthehand.net.personal.dll and 32feetWidcomm.dll in the application folder, but when I debug I always get a missing method exception from BluetoothFactoryConfig.KnownStacks in blueto...

Windows Mobile content encryption

In my windows mobile application (v.6.x) I'm downloading media files onto the device. Is there a beaten path for encrypting this content? So that the media file can just be decrypted by the application, e.g. shuffle every 100th byte or something like that ...

How to embed flash into XNA on windows mobile

Can I embed flash in XNA? how? Can I get data(flash game result) from the embedded flash? Thanks. http://en.wikipedia.org/wiki/Microsoft_XNA http://www.xnadevelopment.com/tutorials.shtml http://www.code-magazine.com/article.aspx?quickid=0709051&page=7 ...

Using timer in Windows Mobile during standby

I want to use a timer in a windows mobile app. Of course, this is not the problem. The problem: the timer needs to be called even during standby and sleep mode. Simply switching off the sleep mode is not really an option, since the app needs to comply to windows marketplace for mobiles requirements, and regarding to requirement 5.2 a m...

Synchronization completes when there are still batches left.

In a current project we use sychronization between SQL server 2008 and and SQLCE on a windows moblie device. The server runs a WCF service. Due to the possibility of large data to be synchronized we have implemented a batching. Later I've noticed that the device stops to stops to asks for more batches, even if it isn't done. The times I...

Application wide periodic tasks with Dialog Based MFC application

In Single Document Interface (SDI) or Multiple Document Interface (MDI) MFC application, I created an application wide timer in the View. The timer will tick as long as the application is running and trigger some periodic actions. How can I do the same with Dialog Based MFC application? Should I create Thread's Timer (SetTimer with NU...