Solved

Debugging an ISAPI app in C++ Builder 6

Posted on 2007-04-11
3
882 Views
Last Modified: 2013-11-17
I'm trying to get the Borland C++ Builder 6 debugger working with an ISAPI application (DLL) running on IIS 5.1, on MS Windows 2000 Professional.  There IS an article describing how to do so at the Borland/CodeGear website ( http://dn.codegear.com/article/23024 ) ...and I have followed those instructions.

But...

When I try to launch my application, using IIS as a process and the host of my DLL, the program IMMEDIATELY returns back to the IDE, as if it had exited normally.  There are no error messages and nothing appears in the Windows Event Log.

Anyone with experience in setting this up?
0
Comment
Question by:tchris
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
George Tokas earned 500 total points
ID: 18906412
From that article:
>>
Trouble shooting

If you get an error about: "A required privilege is not held by the client." then you probably haven't done step 3, or you are trying to debug in a scripts directory that hasn't had step 3 done on it. Or, you have not rebooted at some point.

If the debugger starts and stops right away, then you probably have inetinfo.exe running. Run the Task Manager and look for inetinfo.exe running. Try to kill it. If you can't it is currently running as a service. Try shutting it down in the services. If it is stuck on "Starting" the service, then run IISService.reg and reboot. After rebooting, stop the service. Then run IISProcess.reg and try debugging.

When releasing your ISAPI DLL application, be sure to undo what you did in these steps to not hinder performance on your DLL.

Published on: 9/1/2000 12:00:00 AM
>>
Did you check them?
George Tokas.
0
 
LVL 1

Author Comment

by:tchris
ID: 18907288
OK, I feel really dumb now.  It turns out that Inetinfo.exe WAS still running.  I'm completely confused as to HOW it could have been running, since the service was stopped, but there it was in the Task List.  After I killed it there, C++ Builder stopped right on my breakpoint.

Thanks for the help for a "Duh" moment. :-)

-Terry
0
 
LVL 16

Expert Comment

by:George Tokas
ID: 18908711
Sorry I didn't respond earlier...
I checked out the article but I didn't get so far down...
I checked a bit with some other sources and only yesterday I saw troubleshooting...

George Tokas.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

705 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