I have the following code example for Visual C++ which creates an ActiveX object which can then be used.
// create a smart pointer for ActiveDSO
_DActiveDSOPtr activeDSO;
HRESULT hr = activeDSO.GetActiveObject(__uuidof(ActiveDSO));
if (FAILED(hr))
{
hr = activeDSO.CreateInstance(__uuidof(ActiveDSO));
if (FAILED(hr))
_com_issue_error(hr);
}
How should this be ported to Borland C++ builder. I am unsure how it creates ActiveX objects. What should I be looking for to help find the solution, or at least work towards it.