rapi

SQLServerCE SDF file on Windows 7

北战南征 提交于 2019-12-25 08:04:08
问题 I've have an application on Windows XP that takes an sdf file (SQLServerCE3.0) from a mobile device (Windows Mobile 5.0) import and delete some data and then put it back to the device. It has allways worked correctly. Now, when i do it on Windows 7 x64 the sdf file does some strange behaviour on the device when it goes back. When i do a join with strings, example: SELECT EMPRESA FROM EMPRESES E INNER JOIN VENDORS V ON V.EMPRESA_GUID = E.GUID where V.GUID='{XXX-XXX}' It doesn't return anything

Reading the content of a PDA directory while sync with ActiveSync

China☆狼群 提交于 2019-12-12 10:03:25
问题 I have a project in which I would need to copy files found within a PDA (in my case, it's a MC3000 if that makes any difference). I have ActiveSync installed and it create the syncronisation folder for me just fine. However, I would like to be able to read the content of the PDA not only in its MyDocument Folder so I can't use this (Plus it have to work with 20+ possible PDA of the same model, thus making 20+ directory) Is there a way to do some IO inside the PDA, while it is docked and sync

Rapi.dll / OpenNETCF Invoke example

随声附和 提交于 2019-12-11 21:19:49
问题 I'm failing to use the Invoke method of the OpenNETCF Rapi.dll. Can somebody please post an example? I can't seem to find one anywhere on the web. Other function calls worked fine, but I couldn't figure out Invoke. (dllPath was OK) MyDll is in the root of the CE device. It has a FindAndKill method which needs one string argument I've tried this: var rapi = new CODMrapi.CODMrapi(dllPath); var encoding = new System.Text.UTF8Encoding(); rapi.Connect(); byte[] inputData = encoding.GetBytes

Reading the content of a PDA directory while sync with ActiveSync

大憨熊 提交于 2019-12-06 08:52:17
I have a project in which I would need to copy files found within a PDA (in my case, it's a MC3000 if that makes any difference). I have ActiveSync installed and it create the syncronisation folder for me just fine. However, I would like to be able to read the content of the PDA not only in its MyDocument Folder so I can't use this (Plus it have to work with 20+ possible PDA of the same model, thus making 20+ directory) Is there a way to do some IO inside the PDA, while it is docked and sync with ActiveSync that is. I can see the 'Mobile Device' in Explorer. Thanks Use RAPI . It's a codeplex

Killing a WinCE device process from a desktop app

我是研究僧i 提交于 2019-12-01 01:20:25
I'm copying files from the desktop to a WinCE device (via the RAPI API ), and if the main WinCE program is running, I need to kill it, update and restart it again. So far, I manage to copy the files and start the main program with no problem, but I cannot found a way to terminate a process via RAPI (there is a CeCreateProcess function but no CeTerminateProcess or similar) Currently i'm spawning RapiProc.exe -k \MyDir\MyProcess.exe and it works, but I cannot find the way to do it via RAPI Any ideas? TIA RAPI doesn't provide a direct way to kill a process. You must create a custom RAPI DLL that

Killing a WinCE device process from a desktop app

帅比萌擦擦* 提交于 2019-11-30 19:29:48
问题 I'm copying files from the desktop to a WinCE device (via the RAPI API), and if the main WinCE program is running, I need to kill it, update and restart it again. So far, I manage to copy the files and start the main program with no problem, but I cannot found a way to terminate a process via RAPI (there is a CeCreateProcess function but no CeTerminateProcess or similar) Currently i'm spawning RapiProc.exe -k \MyDir\MyProcess.exe and it works, but I cannot find the way to do it via RAPI Any