Jim Bassett
April 9th, 1999, 05:24 AM
How can I make an array of COleDateTime's? Also can COleDateTime be used instead of DATE in a VARIANT structure?
Thanks
Thanks
|
Click to See Complete Forum and Search --> : COleDateTime Jim Bassett April 9th, 1999, 05:24 AM How can I make an array of COleDateTime's? Also can COleDateTime be used instead of DATE in a VARIANT structure? Thanks April 9th, 1999, 08:52 AM 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. Shahzad April 9th, 1999, 09:00 AM 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 u940098@giki.edu.pk codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |