My old projects stopped compiling under Builder 6, because XE5 had changed important header files used by my projects. I had working projects under C++ Builder 6, and tried C++ Builder XE5 (trial version). Most Delphi components are usable in C++Builder.Īny can help me to convert a Delphi 7 project to C++ Builder 6 project ?
> The library documentation and the install readme says that the project, who was build for Delphi, works as well for C++ Builder.
The library documentation and the install readme says that the project, who was build for Delphi, works as well for C++ Builder.Īdd the directory The error is : Cannot convert wchar_t* to 'const char*' If (!DirectoryExists(RepertoireConfig)) CreateDirectory(RepertoireBinaire.c_str(), 0) UnicodeString RepertoireLog = RepertoireBinaire + "\\Log"
UnicodeString RepertoireConfig = RepertoireBinaire + "\\Config" UnicodeString RepertoireBinaire = GetCurrentDir() ComCtrls.hpp(4658): E2272 Identifier expected ComCtrls.hpp(3880): E2272 Identifier expected ComCtrls.hpp(435): E2272 Identifier expected Then when I compile it, some errors happen: When I open the program with C++ Builder 2007, I was told that the project needs to be converted. We bought C++ Builder 2007 a few weeks ago. Problem of converting from C++ Builder 6 to C++ Builder 2007Ī program which was developed by our partner was built fine with C++ Builder 6. I found that most of the changes I had to make There are good white papers regarding making this transition on theĮmbarcadero EDN site. All VCL String properites (Text, etc.) are Unicode in XE. The big change is the default string in XE is UnicodeString rather thanĪnsiString.
> Any information regarding the roadblocks of converting the code build in C++ Builder 6,2007 to C++ Builder XE? Many thanks!Ĭonvert to C++ Builder XE from C++ Builder Īny information regarding the roadblocks of converting the code build in C++ Builder 6,2007 to C++ Builder XE?
Overall I have to say that converting around 20 projects from an over ten year old Borland BCB6 to XE5 was really easy, and your help was of course making it even easier. Totally true, I created a new console project, copied the code, and it works. > it? If you upgraded an existing project, don't. > create a new VCL project fresh and then add your existing source files to
> BCB6 project into the XE5 IDE and let it upgrade the project, or did you > Your project is likely not linking to the vcle library. I think when I go through these programs I will have to set the properties which previously had some default. I tested many projects in the meantime and it seems that all projects where I draw the labels from the components work fine whereas the projects where I create the labels from the program with *new* have probably different property defaults. > all of the Font properties? Did you check the ParentColor and ParentFont > data, or is the *display* of the Label data simply different? Did you double-check > That did not really answer my question. It? If you upgraded an existing project, don't. Did you open yourīCB6 project into the XE5 IDE and let it upgrade the project, or did youĬreate a new VCL project fresh and then add your existing source files to Your project is likely not linking to the vcle library. > const System::AnsiStringT)' referenziert von C:\PROGRAM > 'System::_linkproc_ _fastcall LStrCat(System::AnsiStringT&, Are the Labels losing actual characterĭata, or is the *display* of the Label data simply different? Did you double-checkĪll of the Font properties? Did you check the ParentColor and ParentFont > fact that they used to have a frame around them. > It seems that labels loose some of their properties, like color or the Different fonts, or different characters?