Thanks for any help.
I'm using similar approach and it is working perfectly.
You are using functions like SystemTimeToTzSpecificLocalTime for conversion, right?
The thing is that your image must have disabled daylight saving and should probably use default time zone GMT +0 hours.
Now you should obtain tables on XP system with enabled time saving and time zone with GetTimeZoneInformation.
And use that values on your XPe image.
Working on this little more you can make your config program that will have valid table for all zones if you want and provide you
with option to choose.
But most importantly you can't (should not use since it will give you no useful information) use GetTimeZoneInformation on XPe
image.
Best regards,
Slobodan
"Tim Houle" <anon...@discussions.microsoft.com> wrote in message news:2bc4e01c468e7$038071e0$a501...@phx.gbl...
SystemTimeToTzSpecificLocalTime is working great for
conversion but we allow administrators to change the time
zone using the xp date and time UI. Are you saying to
create my own data structures that contain the info about
time saving and use in my code?
>.
>
> Are you saying to
> create my own data structures that contain the info about
> time saving and use in my code?
Yes this is exactly what I'm saying.
Also it will allow you to store data on unprotected partition so you won't have to worry about any of EWF and time related problems.
Best regards,]
Slobodan
"Tim Houle" <anon...@discussions.microsoft.com> wrote in message news:2bd7801c468f1$df0ffaf0$a501...@phx.gbl...
Tim
>.
>