Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

call a .NET assembly from C or C++

[Guid("123565C4-C5FA-4512-A560-1D47F9FDFA20")]
public interface IConfig
{
    [DispId(1)]
    string Destination{ get; }
    
    [DispId(2)]
    void Unserialize();
    
    [DispId(3)]
    void Serialize();
}

[ComVisible(true)]
[Guid("12AC8095-BD27-4de8-A30B-991940666927")]
[ClassInterface(ClassInterfaceType.None)]
public sealed class Config : IConfig
{
    public Config()
    {
    }
    public string Destination
    {
        get { return ""; }
    }
    public void Serialize()
    {
    }
    public void Unserialize()
    {
    }
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: function documentation c# exception 
Csharp :: c# zeitverzögerung 
Csharp :: add two large numbers 
Csharp :: closedxm Iworksheet excel formulal 
Csharp :: unity generate random offset position around a gameobject 
Csharp :: cefsharp not passing keydown to form 
Csharp :: get the next letter after specific character in c# 
Csharp :: unity script wait 
Csharp :: c# KERNEL32.DLL recoverdeleted files 
Csharp :: c# one dimensional dictionary 
Csharp :: Console.WriteLine($"Hello {Ana.ToUpper($)}!"); 
Csharp :: windows forms add onclick 
Csharp :: unity prefab button not working 
Csharp :: global variable startup file .net core api 
Csharp :: unity shader blend 
Csharp :: c# asp.net gridview selected row unselect 
Csharp :: .Net Entity Framework Reseed SQL Server Table ID Column 
Csharp :: using selected item in listbox c# to fill texbox 
Csharp :: how to twist a image in the code behind C# 
Csharp :: Enviar correos en C# con MailKit 
Csharp :: unity button hover 
Csharp :: unity I run exe second monitor 
Csharp :: log4net rollingfileappender c# 
Csharp :: c# get app FileVersion 
Csharp :: C# console out restore 
Csharp :: cassandra Keyspaces repository .net 
Csharp :: 1.1 0da14962afa287e5ba55c7d30c902392.cloudfront.net w 
Csharp :: how to reset checkbox visual studio c# 
Csharp :: c# printwindow chrome 
Csharp :: 1080 / 7 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =