User Profile

Collapse

Profile Sidebar

Collapse
Ezima Ugwu
Ezima Ugwu
Last Activity: May 25 '12, 04:14 PM
Joined: Dec 5 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Ezima Ugwu
    replied to Convert Hexstring to date in VC++ 6.0
    in C
    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.
    See more | Go to post

    Leave a comment:


  • Ezima Ugwu
    replied to Convert Hexstring to date in VC++ 6.0
    in C
    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 Ugwu
    See more | Go to post

    Leave a comment:


  • Ezima Ugwu
    started a topic Convert Hexstring to date in VC++ 6.0
    in C

    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...
    See more | Go to post

  • Ezima Ugwu
    started a topic persisting Response.write

    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....
    See more | Go to post
    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
Working...