DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Threaded View

  1. #1
    Join Date
    May 2004
    Posts
    242

    RWCString to RWDate

    Hello,

    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 ?

    Thanks.
    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

Bookmarks

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links