windows-mobile

How to lock file

Hi, please tell me how to lock file in c# Thanks ...

byte[] to ArrayList ?

Could somebody tell me how can I convert byte[] to ArrayList by using C# under Windows Mobile? Later edit: this would go like having an ArrayList containing instances of a custom type. This list goes to a database (into a blob) as a byte array (the conversion is done by the database API); What I want is to revert the byte[] to ArrayL...

How to register form for WM_DEVICECHANGE message in windows mobile

Hi.. 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 ...

How to get the bound

Hi, i have an image list, i am drawing it on form list-control. i will get image bounds when the images gets added to list. and it will come to draw-event there i get bounds. instead how to get the bounds width and height at form-load.. i mean before drawing. how to calculate it?. i am using .net3.5 CF framework ...

Windows CE SDK for Visual Studio 2008

Hello, I am new to Windows CE programming. I have Visual Studio 2008 and Visual Studio 2005. I have found the following SDK for Windows Mobile http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en Please help me in deciding if this is the correct one, or please feel free to ...

Trace in SQL Server 2005 Mobile Edition

Is there any tool available, from Microsoft or 3rd party, that allows a trace to be performed on Windows Mobile 6 device running Microsoft SQL Server 2005 Mobile Edition? ...

Cannot install WinMo 6.1 Standard SDK with VS2008 Pro

I'm trying to install the Windows Mobile 6.1 Standard SDK Refresh on my Vista SP2 machine. I have Visual Studio 2008 Professional with SP1. Everytime I try to install, the installer tells me Visual Studio 2005 Standard SP1+ is required. There is no option to continue. Googling this problem I've found many forum posts stating Visual S...

Does a plugin or extension framework exist for windows mobile applications

I am looking for a .NET Compact plugin or extension framework similar to the full framework Managed Extensibility Framework (MEF) provided by MS Patterns and Practices. It is to be used to dynamically and generically load and manage assemblies that will provide both hardware capabilities as well as user feature modules to the client app...

WindowProc For a form in c#

Hi, I how to get the windowproc for a form in c# for .net compact framework 3.5, i want to know how to get the window proc of particular form. By default we cant overide the window proc of a form in c# 3.5 compact, please let alternate method to get the windowproc ...

Windows Mobile - Device to Device via WiFi?

Are there any good api's or examples of communicating between two devices via WiFi? I am programming an app for 600 window's mobile (version 5) devices. They occasionally will need to connect with another device and exchange info. Each device connects to the internet via GPRS (using the phone line). I could do the communications via ...

How to work with GPS in Windows-mobile using C#

Exact duplicate of: Access GPS functionality in WinMobile phones and GPS library for .NET compact framework hi how i can read GPS coordinate (x,y) in Windows-mobile using C# thank's ...

Can't find PInvoke DLL error in Windows Mobile

I am having a lot of trouble getting a basic scenario to work on windows mobile 5.0 emulator. I have a winforms app that eventually calls into native code. Deployment works fine and all the native DLLs are copied in the same folder as the winforms .exe. I also verified this is the case with Remote File Viewer tool. However when I lau...

Windows Mobile Sockets SSL Communication library

I have a Win32 application that uses boost::asio and openssl library but it seems that they are not supported under WM, am I correct? Can anyone suggest WM API/library for WM Sockets, I need to connect to a server through SSL connection. Is the only option for me WinSocks + OpenSSL? ...

Windows Mobile Development: Deploy to device WITHOUT phone service

We are looking into developing a windws mobile app for data collection. We are considering deploying to a device without phone service - just a Windows phone but no phone service. We are considering a phone largely due to its small form-factor. The data does not need to be uploaded in real-time. It can be at the end of the day. Data will...

Storage Card Problem In windows mobile

Hi, I m making windows mobile application, it refers some DLL's but i have some problem here. Imagine my application is installed in storage card related DLL's present in Storage card only, if i launch application it refers some of DLL, now i will remove the storage card, still my application will be running,it will not quit only ultima...

Can anyone tell me were I am making mistake in the snippet

public partial class Form1 : Form { [DllImport("coredll.dll")] static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong); const int GWL_WNDPROC = -4; public delegate int WindProc(IntPtr hWnd, uint msg, long Wparam, long lparam); public Form1() { InitializeComponent(); WindProc SampleProc ...

Windows Mobile Memory Leak Issue

All, I currently have a phone from a customer who experienced various issue while running our windows mobile application. This issue is that the phone eventually resets completely while running the application. I have this in house to do some testing and I haven't experienced the reset, but I do notice that program memory is dropping si...

Windows Mobile Debugging

I am working on creating a windows mobile application and I have a quick question. I have looked around for the answer and cant find anything. Is it possible to run a windows mobile application on a physical hardware device from visual studio? I don't need to be able to debug really, I just would like to be able to select my device and h...

What might cause SHChangeNotifyRegister to fail on windows mobile?

SHChangeNotifyEntry changeentry = new SHChangeNotifyEntry(); changeentry.pIdl = GetPidlFromFolderID(this.Handle, CSIDL.CSIDL_DESKTOP); changeentry.Recursively = true; uint notifyid = SHChangeNotifyRegister( this.Handle, SHCNF.SHCNF_PATHA , SHCNE.SHCNE_ALLEVENTS, ...

My sample app is getting crash while registering to Filechangeinfo notification

public partial class Form1 : Form { [DllImport("coredll.dll")] static extern int SetWindowLong(IntPtr hWnd, int nIndex, IntPtr dwNewLong); [DllImport("coredll.dll")] static extern IntPtr CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam); [DllImport("coredll.dll")] public static exte...