Advertisement

06.14.2007 at 05:25AM PDT, ID: 22633517
[x]
Attachment Details

Using a interface in a DLL file

Asked by team2005 in Microsoft Visual C#.Net, C# Programming Language

Tags: dll, file, using, interface

Hi All!

Have a interface like this:

public interface IPropertiesContainer
{
   /**
    * Get the value of the specified property,
    * or null if it is undefined.
    */
   string GetProperty ( string propertyName );

   /**
    * Set the value of the specified property. If value is null
    * the property will be deleted. If the property already exist
    * it will be updated, else it will be added.
    */
   string SetProperty ( string propertyName, string value );

   /**
* Reload all properties from the specified file path.
* All current properties will be discarded before loading.
* Throw an IOException in case of any error.
*/
   void LoadFilename1 ( string path );

   /**
* Write the current content to the specified file path.
* Throw an IOException in case of any error, or if the
* argument "allowOverwrite" is false and the file
* already exist.
*/
   void WriteFilename2 ( string path, bool allowOverwrite );
}


And from this interface i have made a DLL-file.

But my question is how to implement this DLL file in a new project in visual studio 205.
Olso need help on understanding this functions:

1. string GetProperty ( string propertyName );
2. string SetProperty ( string propertyName, string value );
3. void LoadFilename1 ( string path );
4. void WriteFilename2ToIniFile ( string path, bool allowOverwrite );

Hope sombody can help me out here...

Thanks




Start Free Trial
[+][-]06.14.2007 at 05:35AM PDT, ID: 19282694

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.14.2007 at 05:40AM PDT, ID: 19282733

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.14.2007 at 05:52AM PDT, ID: 19282835

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.14.2007 at 05:52AM PDT, ID: 19282842

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.14.2007 at 06:51AM PDT, ID: 19283439

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, C# Programming Language
Tags: dll, file, using, interface
Sign Up Now!
Solution Provided By: AlexNek
Participating Experts: 3
Solution Grade: A
 
 
[+][-]06.14.2007 at 07:39AM PDT, ID: 19283943

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.14.2007 at 08:42AM PDT, ID: 19284541

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.14.2007 at 09:31AM PDT, ID: 19284949

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.14.2007 at 10:53AM PDT, ID: 19285582

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.14.2007 at 10:56AM PDT, ID: 19285608

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.14.2007 at 01:47PM PDT, ID: 19287031

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.14.2007 at 03:34PM PDT, ID: 19287731

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32