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