RO SDK version 1617: _Invk files are incorrectly generated for C++Builder ('ambiguity between Urooponsslapi::TStringArray and Uroclasses::TStringArray')

Hello,

I have just updated to version 1617 of RO-SDK and when compiling I get the following error for the generated _Invk files:

[bcc32 Error] TS4_Invk.cpp(45): E2015 Ambiguity between ‘Uroopensslapi::TStringArray’ and ‘Uroclasses::TStringArray’

This happens in this line of every Invoke_ method:

TStringArray ltemp = GetDefaultServiceRoles();

The error is easily fixed, just adding the namespace to the type: Uroclasses::TStringArray - but being this an automatically generated file in principle every time the project is compiled, it’s complicated.

Thanks

Logged as bugs://D19580.

Hi,

  • open uROOpenSSLApi.pas and replace TStringArray with TStringArray2
  • open uROACMESupport.pas and replace uROOpenSSLApi.TStringArray with uROOpenSSLApi.TStringArray2
  • close BDS
  • launch C:\Program Files (x86)\RemObjects Software\Build\install_DA.cmd (or install_RO.cmd) with admin rights

it should solve this case

1 Like

bugs://D19580 was closed as fixed.

Thank you Evgeny. I guess this will be part of the next update?

yes