BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Debuggin DLL

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
John
Guest





PostPosted: Wed Jul 27, 2005 2:49 pm    Post subject: Debuggin DLL Reply with quote



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





PostPosted: Wed Jul 27, 2005 3:04 pm    Post subject: Re: Debuggin DLL Reply with quote



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





PostPosted: Wed Jul 27, 2005 3:21 pm    Post subject: Re: Debuggin DLL Reply with quote



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





PostPosted: Wed Jul 27, 2005 3:39 pm    Post subject: Re: Debuggin DLL Reply with quote

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





PostPosted: Wed Jul 27, 2005 4:16 pm    Post subject: Re: Debuggin DLL Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.