Hi,
I have a date value that is converted to long in VB using
CLng(Cdate(valu e) and the the long value is converted to a HexString which is then stored in the registry.
I have a VC++ 6.0 application that reads this value from the registry and use the date but I am having problem converting the read Hexstring back the date value in my VC++ code.
Say I start with CLng(CDate(02/01/2011)) and then convert this a "AF5B" (not the real value**) which is then stored in the registry.
I wish to read "AF5B" in VC++ and be able to convert it back to 02/01/2011".
Any ideas on how I can do this? Any help appreciated.
Thanks,
Ezima Ugwu.
I have a date value that is converted to long in VB using
CLng(Cdate(valu e) and the the long value is converted to a HexString which is then stored in the registry.
I have a VC++ 6.0 application that reads this value from the registry and use the date but I am having problem converting the read Hexstring back the date value in my VC++ code.
Say I start with CLng(CDate(02/01/2011)) and then convert this a "AF5B" (not the real value**) which is then stored in the registry.
I wish to read "AF5B" in VC++ and be able to convert it back to 02/01/2011".
Any ideas on how I can do this? Any help appreciated.
Thanks,
Ezima Ugwu.
Comment