CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ovidiucucu

Search: Search took 4.57 seconds.

  1. Replies
    5
    Views
    13,179

    Re: How to put Date into VARIANT data type?

    [ off-topic ]

    Except it's otherwise specified, a clearer/shorter/lesser susceptible for bugs/easier to read and maintain code, has to be preffered to "more efficient" one.
  2. Replies
    5
    Views
    13,179

    Re: How to put Date into VARIANT data type?

    Beside the solutions already posted here, the most handy way to deal with VARIANT structures in MFC is to use COleVariant.
    Just:

    COleDateTime mytime(1996, 1, 1, 0, 0, 0);
    ...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured