Solved

linking in a dll issue

Posted on 2009-05-18
2
165 Views
Last Modified: 2012-05-07
Why does visual studio think my dll is a friend.  I have built and successfully compiled a dll using visual studio 2008 and i have another dll that needs to reference it.  I have added it to the reference folder through the GUI, along with other dlls that work mind you.  In the code when i try to call it it says it is private.  Intellisense doesnt even find the class.  So did I add this one dll that i built incorrectly?
0
Comment
Question by:hanleywood
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Expert Comment

by:saragani
ID: 24416031
Does the class that try to write the code in has a Using NameSpace.Something?
(So your classes will appear in the Intellisense without you having to write the namespace before each class/enum you try to use)
0
 
LVL 9

Accepted Solution

by:
tculler earned 500 total points
ID: 24416728
You either nested your classes within another namespace, or you nested your classes within another class. Nested classes are, by default, set to private. Make everything you wish to access outside of the DLL as "public" or "protected".
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question