FNCPlanner with XE7

Hi All.
I have a project in C++ Builder XE7 where I have created a new form with a Planner Component but don't compile.
For test, I have created a blank project with a form where I placed a Planner Component and I have the same error: could you help me to solve?
Thanks,
Flavio

Checking project dependencies...
Compiling Project3.cbproj (Debug, Win32)
bcc32 command line for "Unit3.cpp"
c:\program files (x86)\embarcadero\studio\15.0\bin\bcc32.exe -D_DEBUG -DUSEPACKAGES -n.\Win32\Debug -I"c:\program files
(x86)\embarcadero\studio\15.0\include\windows\vcl";"C:\Program Files (x86)\Embarcadero\Studio\15.0\ZipForge\Lib\Delphi XE7 and C++ Builder XE7";
"C:\Program Files (x86)\Embarcadero\Studio\15.0\include\boost_1_39\boost\tr1\tr1";"C:\Program Files (x86)\Embarcadero\Studio\15.0\include\boost_1_39";
"c:\program files (x86)\embarcadero\studio\15.0\include";"c:\program files (x86)\embarcadero\studio\15.0\include\dinkumware";"c:\program files
(x86)\embarcadero\studio\15.0\include\windows\crtl";"c:\program files (x86)\embarcadero\studio\15.0\include\windows\sdk";"c:\program files
(x86)\embarcadero\studio\15.0\include\windows\rtl";"c:\program files (x86)\embarcadero\studio\15.0\include\windows\vcl";"c:\program files
(x86)\embarcadero\studio\15.0\include\windows\fmx";"C:\Program Files (x86)\FastReports\LibD21";"C:\Program Files (x86)\Raize\CS5\Lib\RS-XE7\Win32";
"C:\Program Files (x86)\Clever Components\Clever Internet Suite\RAD Studio\Include\XE7";"C:\Program Files (x86)\Gnostice\eDocEngine
VCL\Lib\RADXE7\Win32";"C:\Program Files (x86)\Gnostice\Shared3\Lib\RADXE7\Win32";"C:\Program Files (x86)\Gnostice\eDocEngine
VCL\Lib\RADXE7\Win32\ExpIntf";"C:\Program Files (x86)\Gnostice\PDFtoolkit VCL\Lib\RADXE7\Win32";"C:\Program Files
(x86)\Gnostice\Shared\Lib\RADXE7\Win32";"C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core";"C:\Users\fbasi\Documents\tmssoftware\TMS FNC
Core\DelphiXE7\Win32\Release";"C:\Users\fbasi\Documents\tmssoftware\TMS FNC UI Pack";"C:\Users\fbasi\Documents\tmssoftware\TMS FNC UI
Pack\DelphiXE7\Win32\Release";"C:\Users\fbasi\Documents\tmssoftware\TMS FNC UI Pack\xlsAdapter";"C:\Program Files
(x86)\madCollection\madBasic\BDS15\win32";"C:\Program Files (x86)\madCollection\madDisAsm\BDS15\win32";"C:\Program Files
(x86)\madCollection\madExcept\BDS15\win32";"C:\Program Files (x86)\madCollection\madExcept..\Plugins\win32";"C:\Program Files
(x86)\madCollection\madKernel\BDS15\win32";"C:\Program Files (x86)\madCollection\madSecurity\BDS15\win32";"C:\Program Files
(x86)\madCollection\madShell\BDS15\win32";C:\Users\Public\Documents\Embarcadero\Studio\15.0\hpp\Win32 -y -Q -k -r- -c -tR -tM -tU -tW -C8
-o.\Win32\Debug\Unit3.obj -w-par -Od -v -vi- -H=.\Win32\Debug\Project3.pch -H Unit3.cpp
[bcc32 Error] VCL.TMSFNCStyles.hpp(145): E2285 Could not find a match for 'TTMSFNCStylesManagerComponentArray::DynamicArray(int)'
Full parser context
Unit3.cpp(6): #include Unit3.h
Unit3.h(10): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCCustomControl.hpp
VCL.TMSFNCCustomControl.hpp(22): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCStyles.hpp
VCL.TMSFNCStyles.hpp(31): namespace Vcl
VCL.TMSFNCStyles.hpp(33): namespace Tmsfncstyles
VCL.TMSFNCStyles.hpp(129): class TTMSFNCStylesManager
[bcc32 Error] VCL.TMSFNCStyles.hpp(145): E2031 Cannot cast from 'int' to 'TTMSFNCStylesManagerComponentArray'
Full parser context
Unit3.cpp(6): #include Unit3.h
Unit3.h(10): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCCustomControl.hpp
VCL.TMSFNCCustomControl.hpp(22): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCStyles.hpp
VCL.TMSFNCStyles.hpp(31): namespace Vcl
VCL.TMSFNCStyles.hpp(33): namespace Tmsfncstyles
VCL.TMSFNCStyles.hpp(129): class TTMSFNCStylesManager
[bcc32 Error] VCL.TMSFNCStyles.hpp(146): E2285 Could not find a match for 'TTMSFNCStylesManagerComponentArray::DynamicArray(int)'
Full parser context
Unit3.cpp(6): #include Unit3.h
Unit3.h(10): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCCustomControl.hpp
VCL.TMSFNCCustomControl.hpp(22): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCStyles.hpp
VCL.TMSFNCStyles.hpp(31): namespace Vcl
VCL.TMSFNCStyles.hpp(33): namespace Tmsfncstyles
VCL.TMSFNCStyles.hpp(129): class TTMSFNCStylesManager
[bcc32 Error] VCL.TMSFNCStyles.hpp(146): E2031 Cannot cast from 'int' to 'TTMSFNCStylesManagerComponentArray'
Full parser context
Unit3.cpp(6): #include Unit3.h
Unit3.h(10): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCCustomControl.hpp
VCL.TMSFNCCustomControl.hpp(22): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCStyles.hpp
VCL.TMSFNCStyles.hpp(31): namespace Vcl
VCL.TMSFNCStyles.hpp(33): namespace Tmsfncstyles
VCL.TMSFNCStyles.hpp(129): class TTMSFNCStylesManager
[bcc32 Error] VCL.TMSFNCStyles.hpp(153): E2285 Could not find a match for 'TTMSFNCStylesManagerComponentArray::DynamicArray(int)'
Full parser context
Unit3.cpp(6): #include Unit3.h
Unit3.h(10): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCCustomControl.hpp
VCL.TMSFNCCustomControl.hpp(22): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCStyles.hpp
VCL.TMSFNCStyles.hpp(31): namespace Vcl
VCL.TMSFNCStyles.hpp(33): namespace Tmsfncstyles
VCL.TMSFNCStyles.hpp(129): class TTMSFNCStylesManager
[bcc32 Error] VCL.TMSFNCStyles.hpp(153): E2031 Cannot cast from 'int' to 'TTMSFNCStylesManagerComponentArray'
Full parser context
Unit3.cpp(6): #include Unit3.h
Unit3.h(10): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCCustomControl.hpp
VCL.TMSFNCCustomControl.hpp(22): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCStyles.hpp
VCL.TMSFNCStyles.hpp(31): namespace Vcl
VCL.TMSFNCStyles.hpp(33): namespace Tmsfncstyles
VCL.TMSFNCStyles.hpp(129): class TTMSFNCStylesManager
[bcc32 Error] VCL.TMSFNCStyles.hpp(154): E2285 Could not find a match for 'TTMSFNCStylesManagerComponentArray::DynamicArray(int)'
Full parser context
Unit3.cpp(6): #include Unit3.h
Unit3.h(10): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCCustomControl.hpp
VCL.TMSFNCCustomControl.hpp(22): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCStyles.hpp
VCL.TMSFNCStyles.hpp(31): namespace Vcl
VCL.TMSFNCStyles.hpp(33): namespace Tmsfncstyles
VCL.TMSFNCStyles.hpp(129): class TTMSFNCStylesManager
[bcc32 Error] VCL.TMSFNCStyles.hpp(154): E2031 Cannot cast from 'int' to 'TTMSFNCStylesManagerComponentArray'
Full parser context
Unit3.cpp(6): #include Unit3.h
Unit3.h(10): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCCustomControl.hpp
VCL.TMSFNCCustomControl.hpp(22): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCStyles.hpp
VCL.TMSFNCStyles.hpp(31): namespace Vcl
VCL.TMSFNCStyles.hpp(33): namespace Tmsfncstyles
VCL.TMSFNCStyles.hpp(129): class TTMSFNCStylesManager
[bcc32 Error] VCL.TMSFNCStyles.hpp(155): E2285 Could not find a match for 'TTMSFNCStylesManagerComponentArray::DynamicArray(int)'
Full parser context
Unit3.cpp(6): #include Unit3.h
Unit3.h(10): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCCustomControl.hpp
VCL.TMSFNCCustomControl.hpp(22): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCStyles.hpp
VCL.TMSFNCStyles.hpp(31): namespace Vcl
VCL.TMSFNCStyles.hpp(33): namespace Tmsfncstyles
VCL.TMSFNCStyles.hpp(129): class TTMSFNCStylesManager
[bcc32 Error] VCL.TMSFNCStyles.hpp(155): E2031 Cannot cast from 'int' to 'TTMSFNCStylesManagerComponentArray'
Full parser context
Unit3.cpp(6): #include Unit3.h
Unit3.h(10): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCCustomControl.hpp
VCL.TMSFNCCustomControl.hpp(22): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCStyles.hpp
VCL.TMSFNCStyles.hpp(31): namespace Vcl
VCL.TMSFNCStyles.hpp(33): namespace Tmsfncstyles
VCL.TMSFNCStyles.hpp(129): class TTMSFNCStylesManager
[bcc32 Error] VCL.TMSFNCStyles.hpp(156): E2285 Could not find a match for 'TTMSFNCStylesManagerComponentArray::DynamicArray(int)'
Full parser context
Unit3.cpp(6): #include Unit3.h
Unit3.h(10): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCCustomControl.hpp
VCL.TMSFNCCustomControl.hpp(22): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCStyles.hpp
VCL.TMSFNCStyles.hpp(31): namespace Vcl
VCL.TMSFNCStyles.hpp(33): namespace Tmsfncstyles
VCL.TMSFNCStyles.hpp(129): class TTMSFNCStylesManager
[bcc32 Error] VCL.TMSFNCStyles.hpp(156): E2031 Cannot cast from 'int' to 'TTMSFNCStylesManagerComponentArray'
Full parser context
Unit3.cpp(6): #include Unit3.h
Unit3.h(10): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCCustomControl.hpp
VCL.TMSFNCCustomControl.hpp(22): #include C:\Users\fbasi\Documents\tmssoftware\TMS FNC Core\DelphiXE7\Win32\Release\VCL.TMSFNCStyles.hpp
VCL.TMSFNCStyles.hpp(31): namespace Vcl
VCL.TMSFNCStyles.hpp(33): namespace Tmsfncstyles
VCL.TMSFNCStyles.hpp(129): class TTMSFNCStylesManager
Failed
Elapsed time: 00:00:00.4

It's unclear what the issue is exactly. This might be a language incompatibility. The C++Builder source files are generated based on Delphi source files. We'll investigate as soon as possible.

I hope you find a solution otherwise I can't use it!

Are you able to use a newer RAD Studio C++Builder version ?

With 10.3.3 yes; but my main project is with XE7....

Good evening;
any news?
Thanks,
Flavio

We have investigated this here but it's unclear exactly what the cause for this issue is. It might be a compiler incompatibility. We'll see if we can change the code in Delphi so it's generated properly for XE7. Please use a newer RAD Studio for now. XE7 also no longer supports the newer Android iOS & macOS frameworks, so it might be possible that XE7 support will dropped when a new RAD Studio version will be released in the future.

I can't use a newer Rad Studio: It's not so simply porting code from XE7 to 10.4; It would be need some months!!! And It's a commercial Application!
If you write that it's compatible with C++Builder XE7 in the FNC page of your site, I think that It works!

As already explained: we'll see what is possible. The code for C++Builder is automatically generated based on Delphi code. This could be a compiler issue that is fixed in a newer C++Builder version. As a solution we only suggested to move to a newer C++Builder version and/or test to see if the issue happens there as well. I understand that it is not easy to move a complete project, but the only valid FNC platform for XE7 is Windows as all the others require a new RAD Studio version. With the rapid movement of iOS/Android SDK versions and updates and other cross-platform operating systems comes the rapid evolvment of IDEs and compilers. Unless we can fix the issue in our Delphi source code there is not much we can do from our side unfortunately. Hoping for your understanding.

Pieter, I understand what you are saying.
Migrate my project to the last RAD Studio, today, is impossible!
"but the only valid FNC platform for XE7 is Windows ": I'm asking only for Windows; I'm not interested in other platform.
I hope you find a solution.
Thanks

We'll further investigate this here as soon as possible

Good morning,
any news?
Thanks

Hi,

We haven't yet been able to allocate time. We'll investigate as soon as time permits.

Hi,

We have traced and solved this issue. Please be aware that this is a C++Builder compiler issue and that we have worked around it by creating overloads. This issue does not exist in newer RAD Studio versions. Next version will have the fix included.

WOW!!
Thanks!
When we'll have the update?

We'll release an update next week.

Thank you so much!

Good morning.
There is a date of when It'll be released?
Thanks

Yes, Monday or Tuesday we are releasing an update.

Good evening.
I have installed the new version and It works!
Thanks!

1 Like