I have an Activex component that I'm calling from Delphi, in VB the return value that i'm looking for is easy to read
Private Sub m_rs_onReportCreationNotification(ByVal repordId As String, orderIds() As String, examIds() As String, ByVal succeeded As Boolean)
On Error GoTo ErrorHandler
Dim order, exam As Variant
Dim logorders, logexams, state As String
For Each order In orderIds
logorders = logorders + order + ", "
procedure TForm4.ReportStation1onReportCreationNotification(ASender: TObject;
const a_sReportId: WideString; var a_asOrderIds, a_psExamIds: OleVariant;
The a_asOrderIds show as Variant Array of uknown.
How do I get to the values inside a_asOrderIds?