How to debug a DLL in VS2003

D

devmentee

Hi,

I have built a DLL in C++ (unamanged) and written a client app, also in
C++, to test it.
I set my DLL project as "start up" project and have specified the EXE
etc...My client app (exe) starts up fine, however I am unable to step
into the DLL code...when I try to step in
I get "There is no source code available for the current location"
error.

Also, I see "There are no more endpoints available from the endpoint
mapper." in the output window. I checked the DLL has pdb file built
etc...

Can someone please help or suggest something...


Thanks

dev
 
W

William DePalo [MVP VC++]

I have built a DLL in C++ (unamanged) and written a client app, also in
C++, to test it.
I set my DLL project as "start up" project and have specified the EXE
etc...My client app (exe) starts up fine, however I am unable to step
into the DLL code...when I try to step in
I get "There is no source code available for the current location"
error.

Also, I see "There are no more endpoints available from the endpoint
mapper." in the output window. I checked the DLL has pdb file built
etc...

Can someone please help or suggest something...

Is your application unmanaged as well?

And assuming that the PDB file, the DLL and the source are where they were
when you built the application, is there any chance that you have multiple
versions of the DLL on your system?

Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top