Preet
Tue Jun 21 08:39:58 CDT 2005
From what I understand, the link gives code which is written in .NET CF and
will run on the device, not desktop.
If you want to run code on desktop, that will do this stuff, you need to
create a dll, which will have that code for the device. In your desktop
code, you use Remote API (RAPI) to make a call into the device dll, via
Active Sync. The code will execute on the device, and give back the device
ID to the dekstop code.
--
Preet Kamal Singh
Software Design Engineer, Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
"Anthony W. D." <adigrigoli@hotmail.com> wrote in message
news:%23XuFaYmdFHA.3012@tk2msftngp13.phx.gbl...
> Specs:
> WinXp
> VS.NET 2003
>
> I have a Windows application being run from a Desktop that I want to
>
> use to get the Device ID and Name of the connected Pocket PC.
>
> I got code from here:
>
http://msdn2.microsoft.com/library/ms172516(en-us,vs.80).aspx
> I did not modify any of this code and the program is returning the
>
> message: Unable to load DLL (CoreDll.dll).
>
> What else do I need to get the Device ID and Device Name??
>
> Thank you,
> Anthony
>