472,119 Members | 1,735 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

Testing an ATL project in C#

I am experiencing the following issue when building an ATL component that is
tested with c#:
The ATL project builds first, then the C# project, as the ATL DLL is a
dependency of the C# project. The C# project has got a control from the ATL
DLL on one of its forms, and as such, whenever VS is loaded with the C#
project, it has got the DLL loaded into its process space until it is shut
down. Hence, it is impossible to build the ATL DLL project. I am having to go
through the laborious process of removing the C# project from the solution,
shutting the IDE down, loading it up again (with just the ATL project this
time), building the ATL project, then re-adding the C# project and setting it
as startup. Then running it.
Which is taking more time than I would want.
All this is when the C# project is another project within the same solution
that the ATL project is in. I have got unmanaged debugging enabled on the C#
project, because that way it is able to step into the unmanaged ATL project
from the C# project - something it doesn't seem to be able to do
unfortunately if I just run the ATL project when it is on its own and choose
the debug program to be another instance of the IDE, and then load the C#
project on its own but in its own process. I wonder why this is the case?

Nov 16 '05 #1
0 1407

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Hugh Cowan | last post: by
reply views Thread by Jonathan Allen | last post: by
11 posts views Thread by D. Yates | last post: by
15 posts views Thread by Enrique | last post: by
3 posts views Thread by Ant | last post: by
24 posts views Thread by David | last post: by
4 posts views Thread by David | last post: by
3 posts views Thread by CSharper | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.