ZeroEffect Posted January 25, 2007 Posted January 25, 2007 While I am trying to add a reference to a DLL I get this Message Box A reference to 'C:\MyDLL.DLL' could not be added. This is not a valid assembly or COM Component. Only Assemblies with extention 'dll' and COM componets bcan be referenced. Please make sure that the file is accessible, and that it is a valid assembly or com component. Is it possible to add a reference to this file? Thanks for your help. ZeroEffect Quote If you can't find it, Build It. There is no place Like 127.0.0.1 also don't forget 1 + 1 = 10
Administrators PlausiblyDamp Posted January 25, 2007 Administrators Posted January 25, 2007 What language was the dll written in? You can only add references to either a COM dll or a .Net assembly - any other dll you would need to access via p/invoke. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
ZeroEffect Posted January 25, 2007 Author Posted January 25, 2007 Thanks for the extremely quick reply. I thought it was .Net. I know it is not a COM dll. How does p/invoke work. Quote If you can't find it, Build It. There is no place Like 127.0.0.1 also don't forget 1 + 1 = 10
Administrators PlausiblyDamp Posted January 25, 2007 Administrators Posted January 25, 2007 Too lazy to type - http://msdn.microsoft.com/msdnmag/issues/03/07/NET/ should get you going. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.