Calling a C++ DLL Function

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

    #1

    Calling a C++ DLL Function

    I tried a large post, but I thought it might be too complicated, so
    I'm trying a series of smaller posts solving the problem one issue at
    a time
    Ok,
    I am using C#. I would like to call a C++ DLL (not COM) pass it an
    array of DWORDs (UINT32?), then use the 3 pointers it returns that
    each point to different arrays of information in order to insert those
    arrays into a SQL Server.

    The DLL Name is accessdb.dll. The subroutine inside that DLL is
    GatewayProc(CDL L_GETREPORTDATA , (LPARAM)dwArgLi st,0L,0L,0L)
    CDLL_GETREPORTD ATA is defined in the .h file as
    #define CDLL_GETREPORTD ATA 0x00A1

    How can I call the DLL and then use the pointers it returns to me to
    retrieve the information?
Working...