Solved

Debug ISAPI DLL

Posted on 2000-03-16
5
502 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Printing problem 2 111
Delphi Form ownership 4 126
Firemonkey allowing RTL on android 6 56
shape, triangle, dbctrlgrid 3 33
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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