pass ADO Recordset from a managed to an unmanaged code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • stanley

    pass ADO Recordset from a managed to an unmanaged code

    hello all,
    1 - is it posiblle to pass ADO Recordset as a parameter from C++ managed
    code (.Net MC++) to a C++ unmanaged code (the old existing code) function??
    how can i do it using the P-Invoce mechanism?
    if it's not posibble - how can i call an exisiting C++ unmanaged function
    that expect me to pass a Recordset parameter???
    2- the same question but i need to pass the unmanaged function an
    IUnknown* parameter(hold the connection to the DB).

    if u can show me an example it will be great
    thank's
    stan

Working...