By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,308 Members | 1,155 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,308 IT Pros & Developers. It's quick & easy.

Why Interop in BIN folder for ActiveX DLL in debug mode is deleted

P: n/a
Hi all

I have a .NET application that is using few ActiveX DLL wrote in VB6. I
managed to get the most from my previous VB6 controls by using them in .NET
but sometimes when I am using my ActiveX DLL in debug mode the associated
Interop DLL in the BIN folder is deleted and my DLL Reference in the .NET
project is broken as I see the Yellow Sign on top of it.

I think that some illegal operation on the ActiveX DLL side may force .NET
to completely remove this Interop DLL from BIN folder?
There is any possible protection against this kind of radical reaction from
..NET side when something get wrong on ActiveX DLL side when use in Debug Mode?

Not only is that Interop DLL deleted but when I try to add it back from Add
Reference my ActiveX DLL that was in the list of References is not there

The only way to recover this lost Reference is to Rebuild again my ActiveX
DLL in VB6. After rebuilding this ActiveX DLL then I may get back the lost
Reference and add this DLL to my .NET project.

I am not sure but I have the feeling that this happens only when I am using
that ActiveX DLL in debuging mode and not in Release mode!

My question is anyone experienced this before?

Is that possible that this broken reeference happens also in the field at
customer site with the DLL Released version?
Thanks for all inputs

Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.