Solved

Debug ISAPI DLL

Posted on 2000-03-16
5
490 Views
Last Modified: 2010-05-18
We are just starting to develop for the Internet, our project is an ISAPI DLL, and we are using Windows NT Personal Web Server.  We are trying to figure out how we can debug the DLL within Delphi 5.  We found some instructions for Windows "95" personal web server, but we can seem to figure out NT.  Any help would be greatly appreciated.

Greg
0
Comment
Question by:gjbaker
5 Comments
 
LVL 13

Expert Comment

by:Epsylon
ID: 2625224
Use 'c:\winnt\system32\inetsrv\inetinfo.exe' as host application and '-e w3svc' as parameter

Do a *find* in the Delphi help and search for 'debug isapi'
0
 
LVL 12

Expert Comment

by:rwilson032697
ID: 2625255
Listening
0
 
LVL 1

Expert Comment

by:Greedy
ID: 2625706
take a look at this

http://msdn.microsoft.com/workshop/server/iis/ixcptmon.asp

There are serveral things that you will learn quickly about debuging ASPI.  If you have a more specific question we can narrow it down for you but as you know this question is about as vague as "how do I do user administration with NT"

also do key word searches at

www.support.microsoft.com

good luck
0
 
LVL 15

Accepted Solution

by:
simonet earned 200 total points
ID: 2625795
Bob Swart (a.k.a. Dr. Bob), has written an application that lets you debug ISAPI DLLs written with Delphi. It's integrated to the Delphi IDE, and quite handy. I found it to be much easier to use than PWS or IIS.

Here's the URL:
http://www.drbob42.com/tools/intrabob.htm

It's a great tool and, best of all, it's free!

Yours,

Alex
0
 
LVL 1

Expert Comment

by:Greedy
ID: 2625814
Another thing that should be noted is that the personal server makes it kinda easy to start and stop the web secvices...under IIS this is a bit harder.  Basically for performance reasons the DLL is only loaded once and then multisessioned.  This means that only one memory instance of the DLL is running.  You will see a problem here if the thing errors out because you have to stop the service to overwrite the IASPI with your newly compiled code.  Look at this page for some help

http://support.microsoft.com/support/kb/articles/Q182/0/59.ASP?LNG=ENG&SA=ALLKB&FR=0

0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question