Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / March 2004

Tip: Looking for answers? Try searching our database.

Extended Stored Procedures

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Folke - 30 Mar 2004 12:11 GMT
I have written an Extended Stored Procedure and it works fine. In the installation intructions it is said that you must copy the .dll to SQLServer's binn directory. Why not put it in the GAC? (and ngen it!
/Folke
Joe Delekto - 30 Mar 2004 18:29 GMT
Greets,

   The extended stored procedure is a normal Win32 DLL and not a managed
DLL (at least not yet).  It requires being copied to that specific folder
because that is where the engine loads extension DLLs, using the
LoadLibrary()/GetProcAddress() Win32 API functions.  It doesn't require ngen
because it's already native code.  It's almost similar to an ISAPI filter,
only the IIS manager allows you to specify where that DLL exists.

Regards,

Joe

> I have written an Extended Stored Procedure and it works fine. In the installation intructions it is said that you must copy the .dll to
SQLServer's binn directory. Why not put it in the GAC? (and ngen it!)
> /Folke

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.