Ralf said,

> So there are many workarounds - be creative:

Do I have to be creative?  It's Friday after all.  I should get high fives 
for being in the office.  ;)

> a) Write a file-list to a const file on the device - so you don't need to 
> enumerate the directories from desktop! This could be tickled by 
> SyncCallRemoteModul()!

We wanted to transfer the photos on the expansion card independently to 
guarantee all the photos are transferred to the desktop.  We'll want every 
photo even if their supporting data is missing.  It's a lot more effort for 
an inspector to travel back to a site and retake the photos than using our 
web application to key in the supporting data for the photos.

Thankfully, records in our "media" tables already have a filename field.  We 
can construct the full path of the photo file and transfer these photos from 
the expansion card to the desktop while processing these media records.

We're considering building a string buffer of delimited photos filenames in 
the future to use with SyncCallRemoteModule.

> b) It could also a timing issue - so use SyncYieldCycles().

We tried SyncYieldCycles calls before and after the enumerate.  No dice. 
Thanks for the suggestion.

Eric Lyons


"Ralf Dietrich" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>
> VFSDirEntryEnumerate() from the CDK is only a library-call to the Palm 
> Desktop - so changing the CDK does not change your bug behaviour (imho 
> this is also a Tungsten|T issue).
>
> But the bug is in the transport protocol (desktop link protocol - DLP) so 
> it is a combination of the desktop part (Palm Desktop) and the device
> (HotSync app). Within this in mind, you can change the Palm Desktop 
> Software version (various out there) - or/and change the the HotSync-App 
> on the device (transfer the app from newer device - on your own risk!)
>
> So there are many workarounds - be creative:
> a) Write a file-list to a const file on the device - so you don't need to 
> enumerate the directories from desktop! This could be tickled by 
> SyncCallRemoteModul()!
> b) It could also a timing issue - so use SyncYieldCycles().
>
> -- 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> Ralf Dietrich                  www: http://www.envicon.com
> envi.con KG                    mail:[EMAIL PROTECTED]
> Emser Platz 2                  Tel: +4930-34902670
> 10719 Berlin/Germany           Fax: +4930-34902671
> 



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to