Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 246851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:12:25+00:00 2026-05-11T21:12:25+00:00

We have a Delphi COM component being called from an ISAPI web app. The

  • 0

We have a Delphi COM component being called from an ISAPI web app. The COM component is hanging the app because it is trying to display a MessageBox(). We have no MessageBox() call in our user code so it must be located in the Delphi runtime source, probably in exception handler code.

We have an IIS debug diagnostics report that shows our module name + an offset address as the offending code.

We have a .MAP file for our module and we also have produced a .dbg file using MAP2DBG.

Our question is how do we locate the source file line of code using the IIS debug diag hang report containing the offset address, using the .MAP or .DBG file?

We’ve tried to use WinDbg but have not been able to figure out what we need to do to locate the source line.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:12:25+00:00Added an answer on May 11, 2026 at 9:12 pm

    Firstly you need to find the base address where the process loaded the COM module in to the IIS process – this may be evident by the IIS Debug log. Lets call this BASE.

    Then you calculate the MAPoffset = offset – BASE – $1000 and you have an address that can be searched for in the Delphi MAP file.

    In the MAP file (which should be detailed to get line number mapping) you will find a section for each source module which list records of “linenumber segment:offset”. Then you check if MAPoffset is either equal to an offset or in between two of the line number offsets. This should give you a direction to which line is the offending line.

    The segment is usually 1 – indicating a text segment with generated code – (there is a segment map in the top of the MAP file).

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 227k
  • Answers 227k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can do it inline (I'll leave it to someone… May 13, 2026 at 1:28 am
  • Editorial Team
    Editorial Team added an answer You cant customize the UIImagePickerController tool bar just like that,… May 13, 2026 at 1:28 am
  • Editorial Team
    Editorial Team added an answer I think that you'll have to loosen up your constraints… May 13, 2026 at 1:28 am

Related Questions

Delphi 2006, whenever started afresh, loses component package. This happens on a daily bases.
We have the following in our codebase, in a component file: {$IFDEF ADO} FDatabase
I tried to install Delphi 7 on Vista several times and Vista prevented me
Does anyone know of a 3rd party component that works like GTSizer? It appears

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.