Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I want to write an extended Stored Procedure in VB.net. I have searched the net pretty extensively and haven't come up with much. Other than you can write your own in any language that allows you to create a DLL. I know VS.net C++ comes with an "Extended Stored Procedure dll" project. I really don't have time to learn C++.

 

Anyways, does anybody know of any good articles explaining this or know where I could get some good examples. Or, if somebody could explain the mechanics of it to me as far as how the class needs to be setup or references I would need, etc. I tried creating a class that had one function in it and then I registered it in SQL Server

(exec sp_addextendedproc 'EXtendsp', 'EXtendsp.dll')

but I get the error

(ODBC: Msg 0, Level 16, State 1

Cannot find the function EXtendsp in the library EXtendsp.dll. Reason: 127(The specified procedure could not be found.).)

 

Any help would be greatly appreciated, thanks in advance.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...