Hi all,
I have now figured this out. VB uses Ole Automation so the correct C++ datetime format is COleDateTime. I convert the long value from VB to a double and assign it to a COleDateTime variable and the rest is done using COleDateTime class members.
Thanks to all those that replied.
Ezima Ugwu.
User Profile
Collapse
-
Hi,
I am reading the hexstring from VC++ and the only methods I know such as time_t, CTime, COleDateTime etc are not generating the correct date. I cannot do a direct CDate cast in VC++.
Thanks,
Ezima UgwuLeave a comment:
-
Convert Hexstring to date in VC++ 6.0
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... -
persisting Response.write
Hi,
I put a Response.write statement in the Session_Onstart method of my Global.asa.
The problem is even though I have since removed the statement, when I run my program it still does the write as if the statement is still there.
I an just running on my local inetmgr.exe 5.1 on windows xp sp3 and classic asp 6.0.
Can some explain why this is so and how I can remedy it?
Thanks in advance....Last edited by Ezima Ugwu; Dec 6 '11, 01:37 PM. Reason: I have discovered that I was calling a method in a .inc which contained same write statement. Sorry my stupid mistake.
No activity results to display
Show More
Leave a comment: