 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
John Guest
|
Posted: Wed Jul 27, 2005 2:49 pm Post subject: Debuggin DLL |
|
|
Hi,
I am running BCB 5.0 SP 2
I have a DLL and an EXE that are both built using BCB.
I load the DLL package into the IDE. I set up my exe as the
"Host Application" in "Run Parameters". I put some break points
in my code. I press F9 and my application starts up. The break points
I have set, turn green. There are no break point markers in my dll code.
However, I can see that this code is being executed.
I have ensured that there is only one copy of my DLL.
Now this use to work, I don't know why it stopped. My coworker had
this issue, but it went away. He has no idea why.
Any help will be appreciated.
Thanks
John
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Wed Jul 27, 2005 3:04 pm Post subject: Re: Debuggin DLL |
|
|
John wrote:
| Quote: | Now this use to work, I don't know why it stopped. My coworker had
this issue, but it went away. He has no idea why.
|
What version of Windows are you using?
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
John Guest
|
Posted: Wed Jul 27, 2005 3:21 pm Post subject: Re: Debuggin DLL |
|
|
I am using XP, my coworker is using 2000
"Andrue Cope [TeamB]" <no.spam (AT) not (DOT) a.valid.address> wrote
| Quote: | John wrote:
Now this use to work, I don't know why it stopped. My coworker had
this issue, but it went away. He has no idea why.
What version of Windows are you using?
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Wed Jul 27, 2005 3:39 pm Post subject: Re: Debuggin DLL |
|
|
John wrote:
| Quote: | I am using XP, my coworker is using 2000
|
XP has some issues with Builder. MS changed the way it handles the
loading of DLLs.
A workaround is to launch the debugger then use CTRL+ALT+M to get a
list of loaded modules. Some modules won't have paths so you need to
add them manually.
Unfortunately I think you have to do this every time you run the
debugger. I /think/ that if you put all your EXEs and DLLs in the same
directory this won't be a problem but I don't know. I stick to Win2K
for the time being. WinXP is just different enough to dissuade me from
using it for development without an XP specific development environment.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
John Guest
|
Posted: Wed Jul 27, 2005 4:16 pm Post subject: Re: Debuggin DLL |
|
|
Andrue, you are the man!
Your work around worked like a champ.
Thanks for getting me up and running.
"Andrue Cope [TeamB]" <no.spam (AT) not (DOT) a.valid.address> wrote
| Quote: | John wrote:
I am using XP, my coworker is using 2000
XP has some issues with Builder. MS changed the way it handles the
loading of DLLs.
A workaround is to launch the debugger then use CTRL+ALT+M to get a
list of loaded modules. Some modules won't have paths so you need to
add them manually.
Unfortunately I think you have to do this every time you run the
debugger. I /think/ that if you put all your EXEs and DLLs in the same
directory this won't be a problem but I don't know. I stick to Win2K
for the time being. WinXP is just different enough to dissuade me from
using it for development without an XP specific development environment.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|