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