Re: Strange filetimes with RAPI CopyFileToDevice

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
>> > >
>> >
>> >
>> >


.



Relevant Pages

  • Re: Controlling XP SP2 computer firewall settings from SBS2003
    ... I remember the patch was released to fix the error, ... have stopped you from configuring your firewall settings in the GP. ... "Chris Butler" wrote in message ...
    (microsoft.public.windows.server.sbs)
  • Re: Add/Remove screen pops up when attaching PDA
    ... Chris De Herrera ... > Unfortunately, everything did install correctly, so do I just uninstall> any one of the applications? ... > "Chris De Herrera" wrote in message ... To fix this try uninstalling the last appliacation on your> PC by ...
    (microsoft.public.pocketpc.activesync)
  • Re: Activesync is not following peak and non peak synch settings
    ... behave- I don't know why reinstalling ActiveSync would've fixed it since it ... "Chris De Herrera" wrote: ... Beyond that- the only other fix I've installed was the DST fix. ...
    (microsoft.public.pocketpc.activesync)
  • Re: VPN Drops SBS2003
    ... The bad news is I got the hotfix from Microsoft, applied it and it did not ... > Hello Chris, ... > I patched the server with the hot fix from Article ... >>Its ICS, Ive checked. ...
    (microsoft.public.isa.vpn)
  • Re: error C00D0032
    ... Thanks Chris. ... > control connection" doesn't have a single solution because the users have ... Microsoft can't fix things when you guys leave ... > Microsoft MVP - Digital Media ...
    (microsoft.public.windowsmedia.player)