DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Threaded View

  1. #1
    Join Date
    May 2004

    RWCString to RWDate


    Can someone please tell me how to cast from RWCString to RWDate ?

    I have : RWCString temp = nullDate;

    and I want RWDate to be that value.

    I did :

    RWDate tempDate(temp);
    proper_start = tempDate;

    but, later when I do : pCpty->setINACTIVE_START(get_inactive_start()); this does not work, despite the method is :
    void setINACTIVE_START ( const RWDate& value ) {INACTIVE_START_ = value;}

    and :-
    RWDate& get_inactive_start() { return proper_start ; }
    RWDate proper_start ;

    Any ideas what i'm doing wrong ?

    Last edited by ami; 01-28-2011 at 09:25 AM.

Similar Threads

  1. RWCString to long
    By ami in forum C++
    Replies: 5
    Last Post: 09-14-2010, 09:20 AM
  2. RWCString to char
    By ami in forum C++
    Replies: 3
    Last Post: 04-16-2010, 05:11 PM
  3. RWCString
    By ami in forum C++
    Replies: 2
    Last Post: 09-20-2009, 12:46 AM
  4. Factory pattern
    By ami in forum C++
    Replies: 7
    Last Post: 09-01-2009, 08:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.