Wednesday, March 25, 2009

Communicating with Windows Mobile Devices

There's not a good way to transfer files and communicate with smart devices via .Net, but our team needs to be able to do that all day, every day. The problem is that the API to get to the devices is unmanaged code (not written in C# or VB.NET) so you have to do the includes at a lower, less abstracted level.

Fortunately, the good folks at Red Gate have created a wiki for low-level access and they've deigned to include rapi.dll (Remote Acess API for communicating between the PC and the handheld) and coredll.dll (for the guts of working within the device itself).

Here's the link: http://www.pinvoke.net/

Look at the lists of dlls on the left and go to the bottom for smart devices.

Very nice examples, how-tos and tips and tricks. It's a wiki ... add to it!

No comments: