windows-mobile

Can't find PInvoke DLL - BUG?

蹲街弑〆低调 提交于 2020-01-03 05:49:14
问题 I have got Windows mobile GPS third party application.That is C++ code which code contain GPS automatic enabling/disabling facility. I want to make dll. That also i did. When the user click invoice (C# code) GPS (C++) have to find. This is my source Code GPS.cpp extern "C" //No name mangling __declspec(dllexport) #include "GPS.h" #include "stdafx.h" #include "RF PWR.h" #include "RF PWRDlg.h" #include "widioctl.h" #ifdef _DEBUG #define new DEBUG_NEW #endif void CaptureGPS() { HANDLE hDrv =

desktop to windows mobile communication

纵饮孤独 提交于 2020-01-02 15:02:06
问题 I want to make a desktop application trigger an event on a Windows Mobile 6 standard device (smartphone). How can I make the smartphone and desktop communicate? Where can I find some code examples of this? I'm using C#... To clarify: It will not be docked with USB. I would like to use WLAN. I want to trigger an event within my application that is already running on the smartphone. 回答1: One solution is to use RAPI. If you do so, then have a look at RAPI communication library at OpenNETCF. This

desktop to windows mobile communication

坚强是说给别人听的谎言 提交于 2020-01-02 15:01:36
问题 I want to make a desktop application trigger an event on a Windows Mobile 6 standard device (smartphone). How can I make the smartphone and desktop communicate? Where can I find some code examples of this? I'm using C#... To clarify: It will not be docked with USB. I would like to use WLAN. I want to trigger an event within my application that is already running on the smartphone. 回答1: One solution is to use RAPI. If you do so, then have a look at RAPI communication library at OpenNETCF. This

Windows Mobile application in full-screen mode

ε祈祈猫儿з 提交于 2020-01-02 06:00:33
问题 I have a Windows Mobile application developed with Visual Studio 2008 and C# (Smart Device Project). When I run the application there's a start menu bar visible on the top and keyboard bar on the bottom. How can I make my application run in full-screen mode? If possible I would like to have a solution that will allow me to turn full-screen mode on and off on runtime (after clicking some form button for example). 回答1: Getting rid of the keyboard/menu bar at the bottom is easy: just remove the

GPS in windows mobile

佐手、 提交于 2020-01-01 18:17:14
问题 How would I go about obtaining the GPS cordinates in a windows mobile application? The sample app that comes with the SDK doesnt seem to work. I also have the wm 6.5 SDK which I heard had GPS stuff but I cant find it. Let me know if you have any good examples. 回答1: Go with GPS.Net. It's an excellent library, very easy to use and compatible with a whole pile of hardware implementations. We used it for Windows Mobile and Windows Xp/Vista versions of an application. 回答2: As of WCE 5.0 microsoft

Upload file to server in Windows mobile C# project

狂风中的少年 提交于 2020-01-01 18:14:07
问题 We have a setup of server and windows mobile device as a client. In server CSI script ready to accept single file from client. In Desktop we have use WebClient.UploadFile method to upload file to server, but in windows mobile this isn't implemented, till now we haven't found any alternative method to achieve same. Thanks in advance. Ramanand 回答1: When using the .NET Compact Framework, you can use System.Net.HttpWebRequest instead of WebClient , which isn't supported on .NET CF. Since

Simulate Keyboard Event on Windows Mobile

ぃ、小莉子 提交于 2020-01-01 16:58:31
问题 Please refer to the screenshot below: The datetime control is a Compact Framework DateTimePicker, the numbered buttons are stndard Button controls. Clicking on the arrow of the DateTimePicker displays a calendar control allowing the suer to select a date. However if the user clicks on any part of the selected Text date it is highlighted and can be amended using either the hard keys or the on-screen keyboard. I'm trying to emulate this functionality with my standard buttons. I've have tried

How do you hide a column in a datagrid using the .net compact framework 3.5

血红的双手。 提交于 2020-01-01 12:12:09
问题 I have a DataGrid that is using a DataReader as its datasource. I want to hide the first column of the datagrid. I am using the .net compact framework 3.5. I can find examples for windows forms but the api is changed enough that they don't work. 回答1: You can set the column style width to 0 or -1 . DataGridTableStyle ts = new DataGridTableStyle(); ts.MappingName = "Order"; // Order date column style DataGridColumnStyle cust_id = new DataGridTextBoxColumn(); cust_id.MappingName = "cust_id";

WM 5 SDK Symbol

柔情痞子 提交于 2020-01-01 06:56:44
问题 We have a large number of Window Mobile Devices (Symbol MC35 & MC70). I want to write a small app that gets the device serial number and simcard serial number (not phone number). I have tryed using the Symbol SDK and I can get the Device Serial Number for the MC70s as they have a Electronic Serial Number Module. But not sure how to get the Sim Details. If i am unable to get the Device Serial Number From the MC35s can I get the IMEI number? The porpose behind this is so I can keep a upto date

C#/C++ pInvoke tips

a 夏天 提交于 2020-01-01 06:06:08
问题 Whats the best way to go about modifying a C++ program to be used with pInvoke from C#.NET CF? I have a large C++ codebase which makes extensive use of STL. Namely iterators, container classes, and standard strings. On top of this many lightweight classes are passed around by value. I want to build a C# gui ontop of this codebase for windows mobile touch devices. Is it worth it? I have managed to get some examples working using pInvoke to call C++ code from C#.NET, but writing wrappers for