I am working with a vendor's API. It is supplied as various COM object DLL's. I am trying to gain access to method "CreateDisconnectedADORecordset" contained within the interface IBBUtilityCode.
A code sample from the vendor is as follows:
Dim oReservices As New REServices
Dim oUtilCode As IBBUtilityCode
Dim rs As Recordset
Dim sSQL As String
sSQL = "SELECT * FROM CONSTITUENT_BANK"
oReservices.Init SessionContext
Set oUtilCode = oReservices
Set rs = oUtilCode.CreateDisconnectedADORecordset(sSQL)
They seem to be using the interface "IBBUtilityCode" by first declaring a pointer to one, then casting "oReservices" as a pointer to the interface???
I am not a VB programmer, so I really haven't a clue.
How can this be done with C#? Any help and/or pointers you can give me would be greatly appreciated.
Thanks, Jimmy