Board index » delphi » NT IIS 2.0 Isapi dll
Shayne Brand
![]() Delphi Developer |
Fri, 13 Aug 1999 03:00:00 GMT
|
Shayne Brand
![]() Delphi Developer |
Fri, 13 Aug 1999 03:00:00 GMT
NT IIS 2.0 Isapi dllMe again! I have created a simple ISAPI dll with Delphi 2.0. When I put it Do I have to program the DLL to unload itself after each use??? How can I Thanks a million!! Shayne Brandon |
Ben Ziegl
![]() Delphi Developer |
Fri, 13 Aug 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllSorry, but you have to shut down the server. That is the one main QuoteShayne Brandon (w...@ra.msstate.edu) wrote: : in the scripts dir on the NT 4.0 server and run it from a page or whatever, it : works fine. BUT when I make changes to the project, recompile, and try to : replace the previous version of the DLL I get an error saying the file is in : use. Apparantly, the DLL is still loaded on the server. : Do I have to program the DLL to unload itself after each use??? How can I : Thanks a million!! : Shayne Brandon |
Aranya Ghata
![]() Delphi Developer |
Fri, 13 Aug 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllNote the section below I copied from Charlie Calvert's web page..... =============================================================== Note that if you copy the ISAPI1.DLL into the MYSTUFF directory multiple times you will need to End of copied section from Charlie Calvert's web page QuoteShayne Brandon wrote: |
Aranya Ghata
![]() Delphi Developer |
Fri, 13 Aug 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllNote the section below I copied from Charlie Calvert's web page..... =============================================================== Note that if you copy the ISAPI1.DLL into the MYSTUFF directory multiple times you will need to End of copied section from Charlie Calvert's web page QuoteShayne Brandon wrote: |
Thomas Hi
![]() Delphi Developer |
Mon, 16 Aug 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllQuotew...@ra.msstate.edu (Shayne Brandon) wrote: turn off the DLL 'caching' by the IIS. But, of course, I cannot remember where I saw it, now.....I will look through the latest MSDN and TechNet stuff, maybe it was there Quote>Thanks a million!! |
Thomas Hi
![]() Delphi Developer |
Mon, 16 Aug 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllQuotebzieg...@Radix.Net (Ben Ziegler) wrote: server to NOT cache DLLs, thereby allowing the changing on-the-fly. Of course, I have totally lost the reference, and cannot verify it..... We just upgraded to the Universal subscription for the MSDN, I will start a search in the morning and see if I can find any references..... Quote
|
Ben Ziegl
![]() Delphi Developer |
Mon, 16 Aug 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllSorry, I was using my experience with Personal Web Server to answer Seems like a switch to turn of DLL caching would cause a pretty big QuoteThomas Hill (hi...@ionet.net) wrote: : >Sorry, but you have to shut down the server. That is the one main : Actually someone responded to this with a registry key that told the IIS web : > |
Woric Faithfu
![]() Delphi Developer |
Tue, 17 Aug 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllQuote>Me again! I have created a simple ISAPI dll with Delphi 2.0. When I put it finishes HttpExtensionProc the webserver simply puts the thread to sleep and waits to call HttpExtensionProc again. The easiest way to unload the DLL is to turn of the Web Publishing or. There is a registry entry under or, woric faithfull PS: if you need to debug your ISAPI extension then try my Trace The URL is http://www.magna.com.au/~woricf/trace/trace.htm |
Woric Faithfu
![]() Delphi Developer |
Tue, 17 Aug 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllQuote>Me again! I have created a simple ISAPI dll with Delphi 2.0. When I put it finishes HttpExtensionProc the webserver simply puts the thread to sleep and waits to call HttpExtensionProc again. The easiest way to unload the DLL is to turn of the Web Publishing or. There is a registry entry under or, woric faithfull PS: if you need to debug your ISAPI extension then try my Trace The URL is http://www.magna.com.au/~woricf/trace/trace.htm |
Thomas Hi
![]() Delphi Developer |
Tue, 17 Aug 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllQuotebzieg...@Radix.Net (Ben Ziegler) wrote: HKEY_LOCAL_MACHINE\System\CurrentCOntrolSet\Services\W3SVC\parameters\ name is 'CacheExtensions', value is '1' (YEs) or '0' (No) Quote
|
Humberto Aicard
![]() Delphi Developer |
Tue, 31 Aug 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllI found a way you don't need to shut down the server. Go to the Internet That's it!! Ben Ziegler <bzieg...@Radix.Net> wrote in article Quote> Sorry, I was using my experience with Personal Web Server to answer |
Philip A. Herzfel
![]() Delphi Developer |
Wed, 01 Sep 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllMaybe you have some insight on another ISAPI / Delphi problem. I have Any ideas?? |
Ben Ziegl
![]() Delphi Developer |
Sun, 05 Sep 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllDebugging Delphi ISAPI DLLs is a real pain in the kiester. Make sure you record and TRACE out every return code from your Another trick is to write a new Delphi DLL (and an EXE to call -Ben Ziegler Philip A. Herzfeld (ph...@mysticsoftware.com) wrote: : Any ideas?? |
Thomas Hi
![]() Delphi Developer |
Mon, 06 Sep 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllQuotebzieg...@Radix.Net (Ben Ziegler) wrote: global scope text file variable, write to it using writeln as needed, then close it in the 'finalization' section. Another way is to (gulp!) write HTML debug statements that are sent to the browser in your error trap routines. Quote
|
Peter Szymicze
![]() Delphi Developer |
Tue, 07 Sep 1999 03:00:00 GMT
Re:NT IIS 2.0 Isapi dllApparently there is a bug in the TRegistry implementation that manifests HTH Philip A. Herzfeld <ph...@mysticsoftware.com> wrote in article Quote> Maybe you have some insight on another ISAPI / Delphi problem. I have |
1. IIS 2.0 V. 4.0 + ISAPI-DLL + MS SQL 6.5
2. Server Error 500, Dephi 3.0 C/S and IIS 2.0 running isapi.dll's
3. Server Error 500 delphi 3.0 C/S and IIS 2.0 running isapi.dll's
4. Using Isapi dll's under IIS 2.0 HELP needed
8. ISAPI programmers -- Delphi, NT 4.0 & IIS