| View previous topic :: View next topic |
| Author |
Message |
Shiv Kumar Guest
|
Posted: Thu Sep 11, 2003 9:15 pm Post subject: Debugging ISAPI D5/D6/D7 on XP |
|
|
I friend of mine is trying to debug and ISAPI on his XP machine. Since I
don't have XP and he's in Canada can anyone please direct me to
articles/website etc.
Any help appreciated.
Thanks
--
Shiv R. Kumar
The Delphi Apostle
http://www.matlus.com
|
|
| Back to top |
|
 |
Del Murray Guest
|
Posted: Thu Sep 11, 2003 9:30 pm Post subject: Re: Debugging ISAPI D5/D6/D7 on XP |
|
|
You are not allowed to ask questions ... you are only allowed to post
answers :-)
|
|
| Back to top |
|
 |
Dmeister Guest
|
Posted: Thu Sep 11, 2003 9:33 pm Post subject: Re: Debugging ISAPI D5/D6/D7 on XP |
|
|
www.msdelphi.com
I know you're not a big fun of the approach used here but it's been
invaluable in my endeavors. If he's using D6 and above then everything
works as presented on the site even for Windows XP. If he's using D5 with
Windows XP then he'll have to copy the dllhost.exe to the directory his
isapi.dll resides.
"Shiv Kumar" <shivk (AT) erols (DOT) com> wrote
| Quote: | I friend of mine is trying to debug and ISAPI on his XP machine. Since I
don't have XP and he's in Canada can anyone please direct me to
articles/website etc.
Any help appreciated.
Thanks
--
Shiv R. Kumar
The Delphi Apostle
http://www.matlus.com
|
|
|
| Back to top |
|
 |
Rich Bakos Guest
|
Posted: Thu Sep 11, 2003 9:36 pm Post subject: Re: Debugging ISAPI D5/D6/D7 on XP |
|
|
Shiv Kumar wrote:
Hi Shiv,
| Quote: | I friend of mine is trying to debug and ISAPI on his XP machine.
Since I don't have XP and he's in Canada can anyone please direct me
to articles/website etc.
|
I believe you can use the method outlined at http://www.msdelphi.com,
with a small modification. Copy dllhost.exe to the output directory that
the ISAPI will reside in, set the host application to point to this copy
of dllhost.exe and away you go.
HTH
Rich Bakos
|
|
| Back to top |
|
 |
Shiv Kumar Guest
|
Posted: Fri Sep 12, 2003 1:31 pm Post subject: Re: Debugging ISAPI D5/D6/D7 on XP |
|
|
Thanks guys! I'll pass it on.
Oh, by the way Del, well make a deal. For every 10 questions I answer, I get
to ask 1. Is that ok? :)
--
Shiv R. Kumar
The Delphi Apostle
http://www.matlus.com
|
|
| Back to top |
|
 |
DaveH Guest
|
Posted: Fri Sep 12, 2003 1:52 pm Post subject: Re: Debugging ISAPI D5/D6/D7 on XP |
|
|
Our last posts on this expired to quickly, so I'm glad you asked again.
I did manage to get this to work under XP and IIS (although I use WebWeaver
because IIS starts to slow).
In this order, do...
1) Install IIS
2) Go into IIS Manager and define the "/scripts" virtual folder. It is no
longer defined for you.
3) Test the install by opening a browser. The "localhost" dns is no longer
defined. You need to use the name of your computer. If you just key in the
name, your browser should return the default home page. If you get this
far, you know its working.
4) Followed the instructions in the Debugging ISAPI under Win2000 and IIS v4
article.
http://bdn.borland.com/article/0,1410,23024,00.html
EXCEPT - always STOP the service before you change the Startup default. I
found that if I didn't Stop the service first, when I rebooted, it was
running again - even though the setting was set to manual (go figure).
EXCEPT - the last step where you update your registry with the
IISProcess.reg file. You need to edit the file and change the folder from
"WinNT" to "Windows". The location of inetinfo is
c:windowssystem32inetsrv - not c:winntsystem32inetsrv under XP.
5) Setup Delphi to debug as instructed in the article
6) Try running and test that IIS starts. You should be able to surf to the
default home page by keying in your computer name in the browser.
7) Delphi still won't be able to stop at breakpoints when you debug because
it can't find the symbol file. I found that the easiest thing to do was to
change the /scripts virtual directory to point to my project's folder.
Your Canadian friend wouldn't be in NS (which is where I am)?
DaveH
"Shiv Kumar" <shivk (AT) erols (DOT) com> wrote
| Quote: | I friend of mine is trying to debug and ISAPI on his XP machine. Since I
don't have XP and he's in Canada can anyone please direct me to
articles/website etc.
Any help appreciated.
Thanks
--
Shiv R. Kumar
The Delphi Apostle
http://www.matlus.com
|
|
|
| Back to top |
|
 |
Del Murray Guest
|
Posted: Fri Sep 12, 2003 4:21 pm Post subject: Re: Debugging ISAPI D5/D6/D7 on XP |
|
|
Ok ..but they cant be hard ones :-)
|
|
| Back to top |
|
 |
Shiv Kumar Guest
|
Posted: Fri Sep 12, 2003 5:12 pm Post subject: Re: Debugging ISAPI D5/D6/D7 on XP |
|
|
Dave, thank you for the detailed steps.
| Quote: | 4) Followed the instructions in the Debugging ISAPI under Win2000 and IIS
v4
article.
|
Except it's IIS 5.0 :)
Why don't you write an article detailing this for BDN. It's good to have
this kind of thing there.
| Quote: | Your Canadian friend wouldn't be in NS (which is where I am)?
|
I'm not sure what NS is . I don't know where he lives (we've never met) he
might have told me in the past, but I've forgotten.
I tried showing him how to get onto these Nags but I don't see him here yet.
Thanks once again.
--
Shiv R. Kumar
The Delphi Apostle
http://www.matlus.com
|
|
| Back to top |
|
 |
Shiv Kumar Guest
|
Posted: Fri Sep 12, 2003 7:35 pm Post subject: Re: Debugging ISAPI D5/D6/D7 on XP |
|
|
Dave,
I happened to get a hold of an XP machine from a colleague here at work and
your solution works as expected.
Cool! Thanks once again.
--
Shiv R. Kumar
The Delphi Apostle
http://www.matlus.com
|
|
| Back to top |
|
 |
Steven Kamradt Guest
|
Posted: Mon Sep 15, 2003 7:26 pm Post subject: Re: Debugging ISAPI D5/D6/D7 on XP |
|
|
Shiv Kumar wrote:
| Quote: | I friend of mine is trying to debug and ISAPI on his XP machine.
Since I don't have XP and he's in Canada can anyone please direct me
to articles/website etc.
Any help appreciated.
Thanks
|
Download the idDebugger from http://users.chello.be/ws36637/ (towards
the bottom of the page).
|
|
| Back to top |
|
 |
Shiv Kumar Guest
|
Posted: Tue Sep 16, 2003 12:18 am Post subject: Re: Debugging ISAPI D5/D6/D7 on XP |
|
|
Thanks Steven.
I personally recommend using IIS whenever possible :)
--
Shiv R. Kumar
The Delphi Apostle
http://www.matlus.com
|
|
| Back to top |
|
 |
|