API Calls

  • Does anyone know an easy way to make a Win32 API call from within a SQL 2000 stored procedure?

    thanks

  • One way I could think of is to wrap your API calls into a COM and instantiate and execute the COM using the sp_OA.... stored procedures.


    Joseph

  • Hi steinie,

    I don't think, that there is a direct way to call API functions.

    So you need to write a wrapper round it. Either COM or small exe.

    What function are you trying to call?

    Cheers,

    Frank

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply