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
Solved

linking in a dll issue

Posted on 2009-05-18
2
162 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
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

856 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