[windev] Windows7beta issue with date/time

truckleaj-windev@yahoo.co.uk truckleaj-windev at yahoo.co.uk
Thu Mar 5 07:51:07 GMT 2009


Hi

I have some basic code in my program:

UINTuSize;=A0
theApp.GetProfileBinary(_T("Options"), _T("SM_MeetingTime"), (LPBYTE*)&pDat=
Time, &uSize);=A0
if(uSize=3D=3D sizeof(DATE))=A0
m_datSM=3D *pDatTime;=A0
elsem_datSM.SetTime(20, 0, 0);=A0
delete[] pDatTime;=A0
pDatTime=3D NULL;
=A0
It has worked fine for many years. But a user of the new Windows7 is encoun=
tering problems. The date ends up showing as a time in a datetime control. =
The control only displays the time. But the time showing on my PC is not th=
at stored in the registry.
=A0
Can anyone confirm for me if there is known changes I should be aware of? O=
r it is a bug in windows7? Or is there something I can do to avoid the prob=
lem?
=A0
=A0
Thank you.
=A0
=A0
Andrew=A0DATE*pDatTime=3D NULL;=A0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.windev.org/pipermail/windev/attachments/20090305/c592276a=
/attachment.htm


More information about the Windev mailing list