Using RemObjects SDK with C++Builder

From RemObjects Wiki
Jump to: navigation, search

This is an Article about RemObjects SDK for Delphi


(This page is considered "good" on a technical level, but is pending review for grammar and typos)

Remobjects DataAbstract for Delphi can be used to create both Server and Client applications using C++Builder.

The following versions of C++ Builder are known to be compatible with the current Remobjects DataAbstract release

  • C++Builder 2007
  • C++Builder 2009
  • C++Builder 2010
  • C++Builder XE
  • C++Builder XE2
  • C++Builder XE3

However, when you first install the RO DA, C++Builder projects will not be able to access any DA VCL Components at design-time.

To correct this for corresponded C++Builder version , follow the steps below:

  • Install the RO DataAbstract as normal.
  • Start the IDE, and open the RO SDK project group "BuildPackages_D*".
  • Select "RemObjects_Core_D*.bpl".
  • Select Project/Options, view Linker options.
  • Set "Linker Output" to "Generate all C++ Builder files".
  • Set an output directory for .hpp .bpi .obj/.lib files.
  • Build "RemObjects_Core_D*.bpl".
  • Install "RemObjects_Core_D*.bpl".
  • Make these steps with other packages in this project group .
  • Open the RO DataAbstract project group "BuildPackages_D*".
  • Make the same operations as for RO SDK.
  • Close and restart the IDE.
  • Select Tools/Options, C++ Options/Path and directories.
  • Add corresponded output directories here.


You should now be able to see all SDK and DataAbstract components in the component palette in C++Builder projects as well as Delphi ones.

Known Issues

When building Server applications, you will see warnings similar to the one below for each service you provide. these can, I think, be safely ignored.

[C++ Warning] HSService_Impl.h(74): W8022 '__stdcall THSService::QueryInterface(const _GUID &,void * *)'
hides virtual function '__stdcall TComponent::QueryInterface(const _GUID &,void *)'


Product: RemObjects SDK
Available Editions: RemObjects SDK for .NET, Xcode, Delphi, Java and JavaScript

GlossaryArticlesLibrarySamples

Personal tools
Namespaces

Variants
Actions
Navigation
products
platforms
special
Toolbox