Results 1 to 2 of 2

Thread: TDateTime data type

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2008
    Posts
    1,260

    TDateTime data type

    I have written hundreds of lines of code in C++ Builder, mainly using the data type TDateTime. My evaluation version of C++ Builder runs out in 1 day. Because of this, I am wanting to use VS2012 C++.

    My problem is this: The TDateTime variable does not seem to be easily used in VS2012. In C++ Builder, I have included the #include <vcl.h> statement.

    How can I use this data type in VS2012 C++? Is it possible? If so, how?

    Thanks

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: TDateTime data type

    Open up your Project menu and click Properties. In the list on the left hand side of the window, expand Configuration Properties and select VC++ Directories. Select Include Directories, click the little arrow that appears and choose Edit. Now add the directory in which vcl.h resides. This will allow you to use #include <vcl.h> just like you did in C++ Builder.

    You may need to link to the appropriate library as well. A quick google tells me that the library in question is vcle.lib.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

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