|
-
Sep 22nd, 2012, 03:38 AM
#1
Thread Starter
Frenzied Member
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
-
Sep 23rd, 2012, 07:49 AM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|