Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004

    Unanswered: Extended Stored Procedures -> loading linked files

    Hello everybody

    I actually wrote a stored procedure (in xp_wrapper.dll) that is using a dll (original.dll) which uses a license file (no file extension).... clear?


    All the required files are placed in the BINN dir of the server.

    The problem is now, that original.dll can't find it's license file. It seems, that this file was not load by SQL Server.

    How can I load this file into SQL Server's heap?


  2. #2
    Join Date
    Nov 2003
    You need to checkout the Win32 level LoadLibrary() call to explicitly load the DLL. You will need to explicitly FreeLibrary the DLL before you exit from the xp call.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts