CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: COleDateTime

  1. #1
    Join Date
    May 1999
    Location
    Fort Worth Texas
    Posts
    614

    COleDateTime

    How can I make an array of COleDateTime's? Also can COleDateTime be used instead of DATE in a VARIANT structure?

    Thanks


  2. #2
    Guest

    Re: COleDateTime

    You can simply say:

    COleDateTime dates[3];

    COleDateTime is a wrapper for VARIANT's DATE type. COleVariant is a wrapper for VARIANTs themselves. If you need to create a variant, you can say:

    COleVariant v(dates[0]);

    here, the variable "v" gets initialised as VT_DATE from the supplied COleDateTime.


  3. #3
    Join Date
    May 1999
    Posts
    388

    Re: COleDateTime

    I am not clear with some terminology of programers. Can you shed some light on what is a 'wrapper' and 'owner class' etc. Knowing these terms will greatly help me in understading. Please do answer this question, and any other such words that you may think will be good to learn.

    Shahzad
    [email protected]


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured