GetFileInfo() takes const char*, and that's that.
Borland c builder how to#
(I occasionally see references to "calling the Unicode versions of the Windows API functions," or words to that effect, but I have no idea what functions those would be or how to access them. ExeName() used to return an AnsiString, whose c_str() method gave the needed argument for GetFileInfo() - but now ExeName() returnsĪ UnicodeString (or WideChar, or something again, it's not clear) and its c_str() method now returns a WideChar* (or something), which is NOT a suitable GetFileInfo() argument. For example, I need to call GetFileInfo() which requires LPCTSTR (etc.) arguments, passing the executable name returned by Application->ExeName(). I don't care / understand what other string classes AnsiString or whatever "now map to" - it's not even all that clear what "map to" MEANS - but that's what the docs keep harping on, and never touching on what I need to know. I have been completely unable to make even the first tiny step toward getting BCB 6 code to compile with the 30-day trial of XE, and tech support has been incapable of doing anything but point me to the same document links that weren't helpful in the first place. I find that incredibly difficult to believe. It is big achievement to me after all these struggle.
![borland c builder borland c builder](https://www.tenouk.com/Borland_files/cppcompilerborland002.png)
So I have downloaded your C++ builder trial version, opened my project inside the builder (by opening "myproject.bpr"), I was very please tosee all my project files are included under the project and literally celebrating the success. also found it very difficult to work with dos prompt as a long time MSDN user. After setting up the compiler I did try compiling my program from the command prompt. So I have downloaded the free Borland C++ compiler and installed it.
![borland c builder borland c builder](http://bioinformatics.org/~naota/ecell2/manual220/image/bcc55en/install1.jpg)
![borland c builder borland c builder](http://www.baghli.com/img/ex_2.jpg)
By this list I assumed this project should have been compiled in C++ compiler. I do not have any system/builder information like what compiler and interfaces or any third party assemblies this project incorporated with. I have been assigned to modify a very old project with the code library. My questions may sound silly but they are not to me. I am very new to this both C++ and C++ Builder community.