Hi there.

I am am currently writing a DLL to be used in a telephony application using VB.

I am struggling however, with de-bugging my DLL. Currently I am using two instances of the VB IDE - the first instance of VB is my DLL, where I can make mods, re-compile etc. The second is a 'test' client application that uses the DLL.

However, this method of testing is very hard work. I find I have to constantly switch between applications to make changes (obviously!) but, even worse, if I want to recompile my DLL, I have to first de-reference it in the references list of my client application, then switch to my DLL code, re-compile it, then switch back, and reference it again.

It works fine, but it's a pain in the a$$! Is there any way in which I can host my DLL project, and a simple test project in the same instance of the VB IDE?

What I would really like to be able to do is run my DLL at the source code level, such that when I call method etc in my DLL, I have it stop at break points etc.

Currently, the DLL is running at the compiled level, so I am struggling to find a bug etc, I have to send output to a disk based 'log' file and then reveiew the log 'after the event' - the (lovely) intereactive de-bugging features of the VB IDE seem lost when you are working with DLL's

I'm sure I read somewhere that it could be done, but I can't fathom it! Any help would be very appreciated - it may be that some of you guys do this every day and could save me all the head scratching!