Re: Strange filetimes with RAPI CopyFileToDevice
- From: "Chris Tacke, eMVP" <ctacke@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 10 Nov 2005 15:22:57 -0500
I thought I saw this a couple years ago and tried to fix it - maybe I only
considered fixing it but never actually got around to doing so. Until today
actually, when a colleage needed to use it, I'd not looked at the RAPI stuff
for over a year. With all the work we're pushing on for the upcoming SDF
2.0 release, I don't see me debugging this anytime soon. If you find a fix
and send it in, by all means I'll incorporate it, but the likelyhood of
OpenNETCF fixing it before year's end is really low.
--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
"Robert W." <RobertW@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7C352E45-151C-44B6-8984-F2AF964B80CB@xxxxxxxxxxxxxxxx
>I thought I'd provide a quick update for Chris, Ajay, et al:
>
> In my CopyFileToDevice wrapper method I started explicitly using
> SetDeviceFileTime to make the datetime stamp of the copied file on the
> mobile
> device identical to that on the desktop. But the GMT-8 error is still
> occurring.
>
> I'm guessing that this must be a bug within the RAPI code. Perhaps
> something you could look at for the next release, Chris?
>
> --
> Robert W.
> Vancouver, BC
> www.mwtech.com
>
>
>
> "Robert W." wrote:
>
>> Ajay,
>>
>> Good idea. And so I just did the test. ActiveSync copies it correctly
>> with
>> no time differences. Strange huh?
>>
>>
>> --
>> Robert W.
>> Vancouver, BC
>> www.mwtech.com
>>
>>
>>
>> "Ajay Agrawal" wrote:
>>
>> > Copy file manully from desktop to PPC using Activesync and see if still
>> > you
>> > see similar time/date change. If yes then I think there is some issue
>> > with
>> > TZ settings either on PPC or desktop.
>> > -Ajay
>> >
>> >
>> > "Robert W." <RobertW@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> > news:520A08B9-9CC0-4F64-8618-05F9E8E44B0A@xxxxxxxxxxxxxxxx
>> > > I'm using the RAPI "CopyFileToDevice" method to copy files from my
>> > > desktop
>> > > to
>> > > my Pocket PC. They're copying fine except that the datetime of the
>> > > file
>> > > is
>> > > being set to exactly 8 hours prior to the filetime.
>> > >
>> > > I've double-checked the Date & Time on both computers and they each
>> > > set to
>> > > the same time and timezone.
>> > >
>> > > Why is this happening?
>> > >
>> > > --
>> > > Robert W.
>> > > Vancouver, BC
>> > > www.mwtech.com
>> > >
>> >
>> >
>> >
.
- References:
- Re: Strange filetimes with RAPI CopyFileToDevice
- From: Ajay Agrawal
- Re: Strange filetimes with RAPI CopyFileToDevice
- Prev by Date: Re: Access syncing
- Next by Date: Re: Testing XHTML content on mobile emulator
- Previous by thread: Re: Strange filetimes with RAPI CopyFileToDevice
- Next by thread: Re: Command line parameters
- Index(es):
Relevant Pages
|