Xpost, f'up to microsoft.public.pocketpc.developer

Greetings,
I wrote a GPS application for a PDA device. Now I want to create a PC
program for easier editing routes and waypoints. At the moment these
are MFC objects, but I'd like to automatically sync them with the PC.
The only sample I found is called StockPor but I don't get it compiled
using VS 2008. Many headerfiles are missing, which seems to be the
reason for a whoe bunch of following errors. Also the sample seems to
be rather outdated. Will it work with XP and Vista? It would be great
if someone can point me out.

My installed SDKs:
-------------------
Pocket PC 2003
Smartphone 2003
Windows Mobile 5.0 Pocket PC SDK
Windows Mobile 5.0 Smartphone SDK

TIA,
Hans

Re: ActiveSync sample by Hans-J

Hans-J
Sat Mar 08 18:17:13 CST 2008

"Hans-J. Ude" <news@hajue-ude.de> wrote:

> Will it work with XP and Vista? It would be great
> if someone can point me out.

An answer to this question I found myself:
The binary installation which came with StockPor doesn't work on Vista. "The
connected device type isn't supported". It's a Dell Axim running
WindowsMobile 2003. Next question: How to fix that?

TIA,
Hans


Re: ActiveSync sample by jp2msft

jp2msft
Mon Mar 10 08:15:00 CDT 2008

You may need to reproduce the code in a Microsoft program. There are some
free ones out there, if you can't afford Visual Studio: eMbedded VC and
eMbedded VB.

"Hans-J. Ude" wrote:

> "Hans-J. Ude" <news@hajue-ude.de> wrote:
>
> > Will it work with XP and Vista? It would be great
> > if someone can point me out.
>
> An answer to this question I found myself:
> The binary installation which came with StockPor doesn't work on Vista. "The
> connected device type isn't supported". It's a Dell Axim running
> WindowsMobile 2003. Next question: How to fix that?
>
> TIA,
> Hans
>
>

Re: ActiveSync sample by r_z_aret

r_z_aret
Mon Mar 10 14:34:02 CDT 2008

On Sat, 08 Mar 2008 23:40:16 +0100, Hans-J. Ude <news@hajue-ude.de>
wrote:

>Xpost, f'up to microsoft.public.pocketpc.developer
>
>Greetings,
>I wrote a GPS application for a PDA device. Now I want to create a PC
>program for easier editing routes and waypoints. At the moment these
>are MFC objects, but I'd like to automatically sync them with the PC.

RAPI lets desktop applications manipulate files and other data on an
attached Windows CE/Windows Mobile device. For more info, see
CeRapiInit and relatives (and note the subtle but important difference
between CeRapiInit and CeRapiInitEx).


>The only sample I found is called StockPor but I don't get it compiled
>using VS 2008. Many headerfiles are missing, which seems to be the
>reason for a whoe bunch of following errors. Also the sample seems to
>be rather outdated. Will it work with XP and Vista? It would be great
>if someone can point me out.
>
>My installed SDKs:
>-------------------
>Pocket PC 2003
>Smartphone 2003
>Windows Mobile 5.0 Pocket PC SDK
>Windows Mobile 5.0 Smartphone SDK
>
>TIA,
>Hans

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com

Re: ActiveSync sample by Hans-J

Hans-J
Mon Mar 10 19:24:37 CDT 2008

jp2msft <jp2msft@discussions.microsoft.com> wrote:

>You may need to reproduce the code in a Microsoft program. There are some
>free ones out there, if you can't afford Visual Studio: eMbedded VC and
>eMbedded VB.

I have VS2005 on one computer and VS2008 on another but the StockPor
sample is incomatible to both. Beginning with about 100 error messages
due to missing header files and ending with support for outdated
processors but no ARMV4. It seems to be a tough job to get that sample
to work with modern VS. I've used eMbedded VC in the past but don't
want to move back to that. I'm looking for some up to date (Windows
Mobile 2003 support) reference manual and some sample code to sync
custom objects but can't find any.

Right now I'm here
http://msdn2.microsoft.com/en-us/library/aa458014.aspx

Unfortunately there is no printable document or sample code.

regards,
Hans

Re: ActiveSync sample by Scott

Scott
Mon Mar 10 19:49:13 CDT 2008

Hans-J. Ude <news@wolptec.de> wrote:
>
>jp2msft <jp2msft@discussions.microsoft.com> wrote:
>
>>You may need to reproduce the code in a Microsoft program. There are some
>>free ones out there, if you can't afford Visual Studio: eMbedded VC and
>>eMbedded VB.
>
>I have VS2005 on one computer and VS2008 on another but the StockPor
>sample is incomatible to both. Beginning with about 100 error messages
>due to missing header files and ending with support for outdated
>processors but no ARMV4.

How odd, StockPor compiles just fine (after adding the ActiveSync
include directory to the list of include directories) in both VS 2005
and 2008 for me. I'm using the WM6 SDK.

And the device side bits compiled into a normal ARMV4 app.

--
--------- Scott Seligman <scott at <firstname> and michelle dot net> ---------
The number of votes I cast is simply a reflection of how firmly I
believe in his policies.
-- Blackadder in Black Adder III:"Dish and Dishonesty"

Re: ActiveSync sample by SaulSilos

SaulSilos
Wed Mar 26 19:25:01 CDT 2008

If you are still interested ind compiling the StockPor example in Vs2005, I
can help you check for any configuration in my project, I could compile all
de projects in the solution for the stockPor sample, for Windows Mobile 6.0
(the one Im interested in).

I could complied for the Proffesional an Standard platform, but, I donâ??t
know why! When I deploy for the standard platform.. I cant make the sample
appear in the ActiveSunc Window! Frustraiting!!!! when for the proffesional
platform works just fine!

Im using Vs2005,WIndows XP, and the emulator images from Wm60 sdk...


Are you using the sample in the folder â??C:\Program Files\Windows Mobile 6
SDK\Activesync\activesync stock portfolio sampleâ?? ???





Re: ActiveSync sample by SaulSilos

SaulSilos
Wed Mar 26 19:25:01 CDT 2008

If you are still interested ind compiling the StockPor example in Vs2005, I
can help you check for any configuration in my project, I could compile all
de projects in the solution for the stockPor sample, for Windows Mobile 6.0
(the one Im interested in).

I could complied for the Proffesional an Standard platform, but, I donâ??t
know why! When I deploy for the standard platform.. I cant make the sample
appear in the ActiveSunc Window! Frustraiting!!!! when for the proffesional
platform works just fine!

Im using Vs2005,WIndows XP, and the emulator images from Wm60 sdk...


Are you using the sample in the folder â??C:\Program Files\Windows Mobile 6
SDK\Activesync\activesync stock portfolio sampleâ?? ???